Use this operation to poll an enrichment. Result metrics appear after the campaign reaches enriched; resultsExpireAt reports how long the result grant remains available.The endpoint can read API-created, app-created, and Data Cube campaigns in the authenticated organization. createdVia identifies the creation surface.
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DataLane API","description":"Build account and contact enrichment workflows with DataLane.","colors":{"primary":"#2E23FF","light":"#5B52FF","dark":"#8D87FF"},"logo":{"light":"https://mintcdn.com/datalane/taTEBxTqMRfjE0CF/images/datalane-logo-light.svg?fit=max\u0026auto=format\u0026n=taTEBxTqMRfjE0CF\u0026q=85\u0026s=d6a66861c8c4a541ca76d7ee4c2bae54","dark":"https://mintcdn.com/datalane/taTEBxTqMRfjE0CF/images/datalane-logo-dark.svg?fit=max\u0026auto=format\u0026n=taTEBxTqMRfjE0CF\u0026q=85\u0026s=f4e1aefe25966436740721b34e2f64fd"},"favicon":"https://mintcdn.com/datalane/2WB6rfUBuq9pQcNj/images/datalane-icon.svg?fit=max\u0026auto=format\u0026n=2WB6rfUBuq9pQcNj\u0026q=85\u0026s=e788fb79e5fdbad964877decc56358a2","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript"]}},"contextual":{"options":["copy","view","claude","mcp","add-mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"datalane","hasAudioNarration":false,"actualSubdomain":"datalane","customDomains":["docs.datalane.com"],"gitSource":{"type":"github","owner":"datalane-nyc","repo":"datalane-app","deployBranch":"main","contentDirectory":"apps/api/public-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a98bcbe1a3978f98e36c4b5","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Campaigns","count":6},{"language":"default","tag":"Build with DataLane","count":4},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Overview","count":1},{"language":"default","tag":"Organization","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/campaigns/get-a-campaign","slug":"/api-reference/campaigns/get-a-campaign","pageMetadata":{"title":"Get a campaign","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/get","href":"/api-reference/campaigns/get-a-campaign","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use this operation to poll an enrichment. Result metrics appear after the campaign reaches `,_jsx(_components.code,{children:`enriched`}),`; `,_jsx(_components.code,{children:`resultsExpireAt`}),` reports how long the result grant remains available.`]}),`\n`,_jsxs(_components.p,{children:[`The endpoint can read API-created, app-created, and Data Cube campaigns in the authenticated organization. `,_jsx(_components.code,{children:`createdVia`}),` identifies the creation surface.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a campaign","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/get","href":"/api-reference/campaigns/get-a-campaign","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get a campaign","tags":["Campaigns"],"x-mint":{"content":"Use this operation to poll an enrichment. Result metrics appear after the campaign reaches `enriched`; `resultsExpireAt` reports how long the result grant remains available.\n\nThe endpoint can read API-created, app-created, and Data Cube campaigns in the authenticated organization. `createdVia` identifies the creation surface.\n"},"requestBody":"e5caa094-9a44-4f49-ad79-a6869d2bb1ed","responses":{"200":"b47eb38a-b875-4d0a-ac76-fb6dd9ce55e0","400":"807d0223-0ef7-4fb1-b962-f56bc683f819","401":"f9e85d29-a44e-4d8e-bdcd-d8047495f6e5","404":"42adb504-b253-403c-9a70-10fa83ca2b79","500":"603405eb-dd04-4c5e-9a31-7f47e21ac389"},"operationId":"postV1CampaignsGet","method":"post","type":"path","servers":["c934f7f6-2178-4e27-9d89-14e32d47f242"],"security":["4e263d42-d17b-4958-9f55-25ff95ab78c6"],"path":"/v1/campaigns/get","baseUrlOptions":["https://api.datalane.com"],"title":"Get a campaign","description":"","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"campaignId":{"type":"string","pattern":"^camp_[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$","isRequired":true,"uniqueKey":"campaignId","typeLabel":"string"}},"required":["campaignId"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"campaignId":"\u003cstring>"}}},"exampleType":"generated"},"application/x-www-form-urlencoded":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"campaignId":{"type":"string","pattern":"^camp_[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$","isRequired":true,"uniqueKey":"campaignId","typeLabel":"string"}},"required":["campaignId"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"campaignId":"\u003cstring>"}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"campaignId":{"type":"string","pattern":"^camp_[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$","isRequired":true,"uniqueKey":"campaignId","typeLabel":"string"}},"required":["campaignId"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"campaignId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b47eb38a-b875-4d0a-ac76-fb6dd9ce55e0":{"description":"Response for status 200","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","pattern":"^camp_[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21}$","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"status":{"type":"string","enum":["draft","enriching","enriched","expired","tam_only"],"description":"Lifecycle state. `tam_only` marks app-created campaigns that are readable but not enrichable via the API.","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"createdVia":{"type":"string","enum":["api","ui","data_cube"],"examples":["api"],"description":"Whether an API key, a DataLane UI user, or a Data Cube created the campaign.","isRequired":true,"uniqueKey":"data.createdVia","typeLabel":"enum\u003cstring>"},"name":{"type":"string","examples":["July target accounts"],"isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"accounts":{"type":"object","properties":{"requested":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[100],"description":"Distinct account IDs submitted, before warehouse validation and campaign exclusions.","isRequired":true,"uniqueKey":"data.accounts.requested","typeLabel":"integer"},"eligible":{"oneOf":[{"type":"integer","description":"Distinct submitted account IDs selected for enrichment. Null until launch evaluates the list. This count determines the initial SMB credit charge; it does not indicate that contacts were found.","maximum":9007199254740991,"minimum":0,"example":82,"isRequired":true,"uniqueKey":"data.accounts.eligible.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Distinct submitted account IDs selected for enrichment. Null until launch evaluates the list. This count determines the initial SMB credit charge; it does not indicate that contacts were found.","example":82,"isRequired":true,"uniqueKey":"data.accounts.eligible.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.accounts.eligible","typeLabel":"integer | null"},"excluded":{"oneOf":[{"type":"object","description":"Exclusion breakdown from the most recent launch evaluation. Null until launch evaluates the list.","required":["total","invalid","recentlyEnriched","crmExcluded"],"example":{"total":18,"invalid":5,"recentlyEnriched":13,"crmExcluded":0},"properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[18],"description":"Distinct submitted account IDs excluded from enrichment.","isRequired":true,"uniqueKey":"data.accounts.excluded.oneOf.0.total","typeLabel":"integer"},"invalid":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[5],"description":"Account IDs not found in DataLane's warehouse, or accounts not eligible for enrichment (closed or inactive).","isRequired":true,"uniqueKey":"data.accounts.excluded.oneOf.0.invalid","typeLabel":"integer"},"recentlyEnriched":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[13],"description":"Accounts excluded by the campaign's `excludeEnrichedWithinDays` setting.","isRequired":true,"uniqueKey":"data.accounts.excluded.oneOf.0.recentlyEnriched","typeLabel":"integer"},"crmExcluded":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[0],"description":"Accounts excluded because they already exist in CRM targets.","isRequired":true,"uniqueKey":"data.accounts.excluded.oneOf.0.crmExcluded","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.accounts.excluded.oneOf.0","typeLabel":"object"},{"type":"null","description":"Exclusion breakdown from the most recent launch evaluation. Null until launch evaluates the list.","example":{"total":18,"invalid":5,"recentlyEnriched":13,"crmExcluded":0},"isRequired":true,"uniqueKey":"data.accounts.excluded.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.accounts.excluded","typeLabel":"object | null"}},"required":["requested","eligible","excluded"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.accounts","typeLabel":"object"},"credits":{"type":"object","properties":{"charged":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[2],"description":"Credits charged to this campaign, net of refunds.","isRequired":true,"uniqueKey":"data.credits.charged","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[998],"description":"Organization-wide credit balance.","isRequired":true,"uniqueKey":"data.credits.remaining","typeLabel":"integer"}},"required":["charged","remaining"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.credits","typeLabel":"object"},"excludeEnrichedWithinDays":{"oneOf":[{"type":"integer","description":"Recency exclusion applied when enrichment launches: accounts enriched within this many days are skipped. Null when disabled. Set at creation, changeable via update while `draft`.","maximum":9007199254740991,"minimum":0,"example":30,"isRequired":true,"uniqueKey":"data.excludeEnrichedWithinDays.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Recency exclusion applied when enrichment launches: accounts enriched within this many days are skipped. Null when disabled. Set at creation, changeable via update while `draft`.","example":30,"isRequired":true,"uniqueKey":"data.excludeEnrichedWithinDays.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.excludeEnrichedWithinDays","typeLabel":"integer | null"},"lastEnrichment":{"oneOf":[{"type":"object","description":"Most recent failed or canceled attempt that returned the campaign to `draft`. Null otherwise.","required":["status","startedAt","endedAt","refunded"],"properties":{"status":{"type":"string","enum":["failed","canceled"],"isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.0.status","typeLabel":"enum\u003cstring>"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.0.startedAt","typeLabel":"string\u003cdate-time>"},"endedAt":{"oneOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.0.endedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.0.endedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.0.endedAt","typeLabel":"string\u003cdate-time> | null"},"refunded":{"type":"boolean","description":"Whether the attempt's credits were refunded.","isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.0.refunded","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.0","typeLabel":"object"},{"type":"null","description":"Most recent failed or canceled attempt that returned the campaign to `draft`. Null otherwise.","isRequired":true,"uniqueKey":"data.lastEnrichment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.lastEnrichment","typeLabel":"object | null"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","examples":["2026-07-21T14:00:00.000Z"],"isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"completedAt":{"description":"When enrichment finished. Present only while `enriched`.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"data.completedAt","typeLabel":"string\u003cdate-time>"},"resultsExpireAt":{"description":"When result access ends. Present on `enriched` and `expired` campaigns; in the past once expired.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"data.resultsExpireAt","typeLabel":"string\u003cdate-time>"},"results":{"description":"Result metrics. Present only while `enriched`.","type":"object","properties":{"totalAccounts":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[100],"isRequired":true,"uniqueKey":"data.results.totalAccounts","typeLabel":"integer"},"totalContactsFound":{"type":"integer","minimum":0,"maximum":9007199254740991,"examples":[275],"isRequired":true,"uniqueKey":"data.results.totalContactsFound","typeLabel":"integer"},"pctAccountsWithContact":{"type":"number","minimum":0,"maximum":1,"examples":[0.8],"description":"Fraction (0-1) of accounts with at least one contact.","isRequired":true,"uniqueKey":"data.results.pctAccountsWithContact","typeLabel":"number"},"pctAccountsWithMobile":{"type":"number","minimum":0,"maximum":1,"examples":[0.6],"description":"Fraction (0-1) of accounts with a mobile phone contact.","isRequired":true,"uniqueKey":"data.results.pctAccountsWithMobile","typeLabel":"number"}},"required":["totalAccounts","totalContactsFound","pctAccountsWithContact","pctAccountsWithMobile"],"additionalProperties":false,"uniqueKey":"data.results","typeLabel":"object"}},"required":["id","status","createdVia","name","accounts","credits","excludeEnrichedWithinDays","lastEnrichment","createdAt"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"error":{"type":"null","isRequired":true,"uniqueKey":"error","typeLabel":"null"}},"required":["data","error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"\u003cstring>","status":"draft","createdVia":"api","name":"July target accounts","accounts":{"requested":100,"eligible":82,"excluded":{"total":18,"invalid":5,"recentlyEnriched":13,"crmExcluded":0}},"credits":{"charged":2,"remaining":998},"excludeEnrichedWithinDays":30,"lastEnrichment":{"status":"failed","startedAt":"2023-11-07T05:31:56Z","endedAt":"2023-11-07T05:31:56Z","refunded":true},"createdAt":"2026-07-21T14:00:00.000Z","completedAt":"2023-11-07T05:31:56Z","resultsExpireAt":"2023-11-07T05:31:56Z","results":{"totalAccounts":100,"totalContactsFound":275,"pctAccountsWithContact":0.8,"pctAccountsWithMobile":0.6}},"error":null}}},"exampleType":"generated"}},"exampleType":"generated"},"807d0223-0ef7-4fb1-b962-f56bc683f819":{"description":"Response for status 400","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"null","isRequired":true,"uniqueKey":"data","typeLabel":"null"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_request"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","properties":{"issues":{"minItems":1,"type":"array","items":{"type":"string","uniqueKey":"error.details.issues.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"error.details.issues","typeLabel":"string[]"}},"required":["issues"],"additionalProperties":false,"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["data","error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":null,"error":{"code":"invalid_request","message":"\u003cstring>","details":{"issues":["\u003cstring>"]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f9e85d29-a44e-4d8e-bdcd-d8047495f6e5":{"description":"Response for status 401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["data","error"],"properties":{"data":{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.data","typeLabel":"null"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_api_key"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["data","error"],"properties":{"data":{"type":"null","isRequired":true,"uniqueKey":"oneOf.1.data","typeLabel":"null"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["revoked_api_key"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":null,"error":{"code":"invalid_api_key","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"42adb504-b253-403c-9a70-10fa83ca2b79":{"description":"Response for status 404","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"null","isRequired":true,"uniqueKey":"data","typeLabel":"null"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","properties":{"resource":{"type":"string","isRequired":true,"uniqueKey":"error.details.resource","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"error.details.id","typeLabel":"string"}},"required":["resource","id"],"additionalProperties":false,"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["data","error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":null,"error":{"code":"not_found","message":"\u003cstring>","details":{"resource":"\u003cstring>","id":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"603405eb-dd04-4c5e-9a31-7f47e21ac389":{"description":"Response for status 500","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"null","isRequired":true,"uniqueKey":"data","typeLabel":"null"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Internal error."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["data","error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":null,"error":{"code":"internal_error","message":"Internal error."}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4e263d42-d17b-4958-9f55-25ff95ab78c6":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"DataLane API key","scopes":[]}}},"servers":{"c934f7f6-2178-4e27-9d89-14e32d47f242":{"url":"https://api.datalane.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"DataLane API key","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"datalane","siteName":"DataLane API","title":"Get a campaign - DataLane API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-03T00:18:10.471Z","originalFileLocation":"api-reference/campaigns/get-a-campaign.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"DataLane API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a campaign - DataLane API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DataLane API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://datalane.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Get+a+campaign\u0026amp;theme=4eeec56fef7cc01614aaf70f\u0026amp;signature=5590d1ddc822d48d32a754d1ec4a50395b49a73339d0461a37e6547bf908b1cf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get a campaign - DataLane API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://datalane.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Get+a+campaign\u0026amp;theme=4eeec56fef7cc01614aaf70f\u0026amp;signature=5590d1ddc822d48d32a754d1ec4a50395b49a73339d0461a37e6547bf908b1cf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/datalane/Oxv29LU6D7t0sIiv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DataLane API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E23FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/campaigns/get-a-campaign.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.datalane.com/#organization\",\"name\":\"DataLane API\",\"url\":\"https://docs.datalane.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/datalane/taTEBxTqMRfjE0CF/images/datalane-logo-light.svg?fit=max\u0026auto=format\u0026n=taTEBxTqMRfjE0CF\u0026q=85\u0026s=d6a66861c8c4a541ca76d7ee4c2bae54\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.datalane.com#website\",\"name\":\"DataLane API\",\"url\":\"https://docs.datalane.com\",\"publisher\":{\"@id\":\"https://docs.datalane.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign#webpage\",\"url\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign\",\"name\":\"Get a campaign\",\"dateModified\":\"2026-09-03T00:18:10.471Z\",\"isPartOf\":{\"@id\":\"https://docs.datalane.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaigns\",\"item\":\"https://docs.datalane.com/api-reference/campaigns/create-a-campaign\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a campaign\",\"item\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign#apireference\",\"headline\":\"Get a campaign\",\"name\":\"Get a campaign\",\"url\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign\",\"mainEntityOfPage\":{\"@id\":\"https://docs.datalane.com/api-reference/campaigns/get-a-campaign#webpage\"},\"dateModified\":\"2026-09-03T00:18:10.471Z\",\"publisher\":{\"@id\":\"https://docs.datalane.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.datalane.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DataLane API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DataLane API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/campaigns/get-a-campaign.md","siteName":"DataLane API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API reference overview","href":"/api-reference/overview"}]},{"group":"Organization","pages":[{"title":"Describe the authenticated organization","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/org/describe","href":"/api-reference/organization/describe-the-authenticated-organization"}]},{"group":"Campaigns","pages":[{"title":"Create a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/create","href":"/api-reference/campaigns/create-a-campaign"},{"title":"Enrich a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/enrich","href":"/api-reference/campaigns/enrich-a-campaign"},{"title":"Export campaign results as CSV","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/export","href":"/api-reference/campaigns/export-campaign-results-as-csv"},{"title":"Get a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/get","href":"/api-reference/campaigns/get-a-campaign"},{"title":"List campaigns","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/list","href":"/api-reference/campaigns/list-campaigns"},{"title":"Update a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/campaigns/update","href":"/api-reference/campaigns/update-a-campaign"}]}]}]},"basePath":"","title":"Get a campaign - DataLane API","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-jJHA3WSo.js","utils-DbZn3Mjn.js","cloneDeep-CnBnaSyy.js","_Uint8Array-CMQtTgBR.js","isObject-FP1Yky1u.js","utils-Bl2DvzOJ.js","addUniqueKeysToSchema-BwOLo9p1.js","snippetPresets-BBiPpKa-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-C0px4Tml.js","isEqual-zAyttAAO.js","usePlaygroundInputsStore-Dell6dGw.js","shallow-0VKqkSqN.js","getApiPlaygroundDisplay-CP_ctPEB.js","CodeSnippet-5L35ic0s.js","CodeSnippets-DOXbNhJw.js","Page-DRLI_2Ue.js","getPastedJson-VhzT9m2P.js","icon-CD8_AtCO.js","MethodPill-DGgOMftG.js","DuplicateIcon-DZ6A_EtN.js","createIcon-DUl4oM5f.js","DynamicMarkdown-BGHukeRM.js","SectionHeading-ChrEUs8u.js","axios-vUo_bRtp.js","Markdown-Dj-na-_-.js","dist-C5gjFYHe.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-DEBW87tT.js"]}