// Initialize the client
var client = new IngestionClient(
new IngestionConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION")
);
// Call the API
var response = await client.ValidateSourceAsync(
new SourceCreate
{
Type = Enum.Parse<SourceType>("Commercetools"),
Name = "sourceName",
Input = new SourceInput(
new SourceCommercetools
{
StoreKeys = new List<string> { "myStore" },
Locales = new List<string> { "de" },
Url = "http://commercetools.com",
ProjectKey = "keyID",
}
),
AuthenticationID = "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
}
);
// print the response
Console.WriteLine(response);
// Initialize the client
final client = IngestionClient(
appId: 'ALGOLIA_APPLICATION_ID',
apiKey: 'ALGOLIA_API_KEY',
region: 'ALGOLIA_APPLICATION_REGION');
// Call the API
final response = await client.validateSource(
sourceCreate: SourceCreate(
type: SourceType.fromJson("commercetools"),
name: "sourceName",
input: SourceCommercetools(
storeKeys: [
"myStore",
],
locales: [
"de",
],
url: "http://commercetools.com",
projectKey: "keyID",
),
authenticationID: "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
),
);
// print the response
print(response);
// Initialize the client with your application region, eg. ingestion.ALGOLIA_APPLICATION_REGION
client, err := ingestion.NewClient("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", ingestion.US)
if err != nil {
// The client can fail to initialize if you pass an invalid parameter.
panic(err)
}
// Call the API
response, err := client.ValidateSource(client.NewApiValidateSourceRequest().WithSourceCreate(
ingestion.NewEmptySourceCreate().
SetType(ingestion.SourceType("commercetools")).
SetName("sourceName").
SetInput(ingestion.SourceCommercetoolsAsSourceInput(
ingestion.NewEmptySourceCommercetools().SetStoreKeys(
[]string{"myStore"}).SetLocales(
[]string{
"de",
}).
SetUrl("http://commercetools.com").SetProjectKey("keyID"))).
SetAuthenticationID("6c02aeb1-775e-418e-870b-1faccd4b2c0f"),
),
)
if err != nil {
// handle the eventual error
panic(err)
}
// print the response
print(response)
// Initialize the client
IngestionClient client = new IngestionClient("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION");
// Call the API
WatchResponse response = client.validateSource(
new SourceCreate()
.setType(SourceType.COMMERCETOOLS)
.setName("sourceName")
.setInput(
new SourceCommercetools()
.setStoreKeys(Arrays.asList("myStore"))
.setLocales(Arrays.asList("de"))
.setUrl("http://commercetools.com")
.setProjectKey("keyID")
)
.setAuthenticationID("6c02aeb1-775e-418e-870b-1faccd4b2c0f")
);
// print the response
System.out.println(response);
// Initialize the client
// Replace 'us' with your Algolia Application Region
const client = algoliasearch('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY').initIngestion({ region: 'us' });
// Call the API
const response = await client.validateSource({
type: 'commercetools',
name: 'sourceName',
input: { storeKeys: ['myStore'], locales: ['de'], url: 'http://commercetools.com', projectKey: 'keyID' },
authenticationID: '6c02aeb1-775e-418e-870b-1faccd4b2c0f',
});
// print the response
console.log(response);
// Initialize the client
val client =
IngestionClient(
appId = "ALGOLIA_APPLICATION_ID",
apiKey = "ALGOLIA_API_KEY",
region = "ALGOLIA_APPLICATION_REGION",
)
// Call the API
var response =
client.validateSource(
sourceCreate =
SourceCreate(
type = SourceType.entries.first { it.value == "commercetools" },
name = "sourceName",
input =
SourceCommercetools(
storeKeys = listOf("myStore"),
locales = listOf("de"),
url = "http://commercetools.com",
projectKey = "keyID",
),
authenticationID = "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
)
)
// print the response
println(response)
// Initialize the client
var client = new IngestionClient(
new IngestionConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION")
);
// Call the API
var response = await client.ValidateSourceAsync(
new SourceCreate
{
Type = Enum.Parse<SourceType>("Commercetools"),
Name = "sourceName",
Input = new SourceInput(
new SourceCommercetools
{
StoreKeys = new List<string> { "myStore" },
Locales = new List<string> { "de" },
Url = "http://commercetools.com",
ProjectKey = "keyID",
}
),
AuthenticationID = "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
}
);
// print the response
Console.WriteLine(response);
// Initialize the client
final client = IngestionClient(
appId: 'ALGOLIA_APPLICATION_ID',
apiKey: 'ALGOLIA_API_KEY',
region: 'ALGOLIA_APPLICATION_REGION');
// Call the API
final response = await client.validateSource(
sourceCreate: SourceCreate(
type: SourceType.fromJson("commercetools"),
name: "sourceName",
input: SourceCommercetools(
storeKeys: [
"myStore",
],
locales: [
"de",
],
url: "http://commercetools.com",
projectKey: "keyID",
),
authenticationID: "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
),
);
// print the response
print(response);
// Initialize the client with your application region, eg. ingestion.ALGOLIA_APPLICATION_REGION
client, err := ingestion.NewClient("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", ingestion.US)
if err != nil {
// The client can fail to initialize if you pass an invalid parameter.
panic(err)
}
// Call the API
response, err := client.ValidateSource(client.NewApiValidateSourceRequest().WithSourceCreate(
ingestion.NewEmptySourceCreate().
SetType(ingestion.SourceType("commercetools")).
SetName("sourceName").
SetInput(ingestion.SourceCommercetoolsAsSourceInput(
ingestion.NewEmptySourceCommercetools().SetStoreKeys(
[]string{"myStore"}).SetLocales(
[]string{
"de",
}).
SetUrl("http://commercetools.com").SetProjectKey("keyID"))).
SetAuthenticationID("6c02aeb1-775e-418e-870b-1faccd4b2c0f"),
),
)
if err != nil {
// handle the eventual error
panic(err)
}
// print the response
print(response)
// Initialize the client
IngestionClient client = new IngestionClient("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION");
// Call the API
WatchResponse response = client.validateSource(
new SourceCreate()
.setType(SourceType.COMMERCETOOLS)
.setName("sourceName")
.setInput(
new SourceCommercetools()
.setStoreKeys(Arrays.asList("myStore"))
.setLocales(Arrays.asList("de"))
.setUrl("http://commercetools.com")
.setProjectKey("keyID")
)
.setAuthenticationID("6c02aeb1-775e-418e-870b-1faccd4b2c0f")
);
// print the response
System.out.println(response);
// Initialize the client
// Replace 'us' with your Algolia Application Region
const client = algoliasearch('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY').initIngestion({ region: 'us' });
// Call the API
const response = await client.validateSource({
type: 'commercetools',
name: 'sourceName',
input: { storeKeys: ['myStore'], locales: ['de'], url: 'http://commercetools.com', projectKey: 'keyID' },
authenticationID: '6c02aeb1-775e-418e-870b-1faccd4b2c0f',
});
// print the response
console.log(response);
// Initialize the client
val client =
IngestionClient(
appId = "ALGOLIA_APPLICATION_ID",
apiKey = "ALGOLIA_API_KEY",
region = "ALGOLIA_APPLICATION_REGION",
)
// Call the API
var response =
client.validateSource(
sourceCreate =
SourceCreate(
type = SourceType.entries.first { it.value == "commercetools" },
name = "sourceName",
input =
SourceCommercetools(
storeKeys = listOf("myStore"),
locales = listOf("de"),
url = "http://commercetools.com",
projectKey = "keyID",
),
authenticationID = "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
)
)
// print the response
println(response)
Your Algolia API key with the necessary permissions to make the request.
Permissions are controlled through access control lists (ACL) and access restrictions.
The required ACL to make a request is listed in each endpoint's reference.
This field is always null when used with the Push endpoint.
When used for a source discover or source validate run, it will include the sampled data of the source.
a message describing the outcome of the operation that has been ran (push, discover or validate) run.
Last modified on March 23, 2026
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Algolia","description":"Build search, discovery, and AI experiences with Algolia. Guides, API references, libraries, UI components, and integrations for your stack.","colors":{"primary":"#3970ff","light":"#3970ff","dark":"#003DFF"},"logo":{"light":"https://mintcdn.com/algolia/kiecJp3hu-WXhj-3/logo/light.svg?fit=max\u0026auto=format\u0026n=kiecJp3hu-WXhj-3\u0026q=85\u0026s=bf613e260ca94c0eb23384e6c0d5c77f","dark":"https://mintcdn.com/algolia/kiecJp3hu-WXhj-3/logo/dark.svg?fit=max\u0026auto=format\u0026n=kiecJp3hu-WXhj-3\u0026q=85\u0026s=31a97f60063c111253c518bc0c638e70","href":"/doc"},"favicon":"https://mintcdn.com/algolia/ApgdWRCFtd9v2oPX/favicon.png?fit=max\u0026auto=format\u0026n=ApgdWRCFtd9v2oPX\u0026q=85\u0026s=91df7c93abadfb122ffc8e0f78cc2dc8","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","csharp","dart","go","java","javascript","kotlin","php","python","ruby","scala","swift"],"autogenerate":false}},"navbar":{"links":[{"href":"https://dashboard.algolia.com/users/sign_in","label":"Log in"}],"primary":{"type":"button","label":"Create account","href":"https://www.algolia.com/users/sign_up"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/algolia","x":"https://twitter.com/algolia","discord":"https://alg.li/discord","youtube":"https://www.youtube.com/channel/UCTNkiq-SO8hay1PRx-it9Cw","website":"https://www.algolia.com"},"links":[{"items":[{"label":"Support","href":"https://support.algolia.com/hc/en-us"},{"label":"Glossary","href":"/doc/glossary"},{"label":"Privacy policy","href":"https://www.algolia.com/policies/privacy"},{"label":"Cookie settings","href":"https://www.algolia.com"}]}]},"seo":{"metatags":{"canonical":"https://www.algolia.com"},"organization":{"id":"https://www.algolia.com/#organization","name":"Algolia","url":"https://www.algolia.com","sameAs":["https://www.linkedin.com/company/algolia/","https://github.com/algolia","https://x.com/algolia","https://www.youtube.com/channel/UCTNkiq-SO8hay1PRx-it9Cw"]}},"fonts":{"heading":{"family":"Sora"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":"system","latex":true},"integrations":{"segment":{"key":"cKQbv9nMHIUgdWswDLG0c3UdiUgBaUmA"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"algolia","hasAudioNarration":false,"actualSubdomain":"algolia","customDomains":["www.algolia.com"],"gitSource":{"type":"github","owner":"algolia","repo":"docs-new","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af2d8d6b9fceafd4088f627","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Libraries and tools","count":629},{"language":"default","tag":"Guides","count":588},{"language":"default","tag":"API clients","count":418},{"language":"default","tag":"Search and Discovery platform","count":410},{"language":"default","tag":"API reference","count":400},{"language":"default","tag":"Reference","count":293},{"language":"default","tag":"UI libraries","count":290},{"language":"default","tag":"Build Search UI","count":235},{"language":"default","tag":"Search","count":187},{"language":"default","tag":"React InstantSearch","count":169}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"llms-txt-v2","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}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--radius: 0.5rem;--rounded-2xl: var(--radius);--rounded-xl: var(--radius);--rounded-lg: var(--radius);--rounded-md: var(--radius);--rounded-full: var(--radius);--icon-stroke: #000000;--border-color: rgb(var(--gray-200) / 0.5);--font-weight-headings-custom: 700;--docsearch-background-color: #f5f6f7;--filters-token-string-color: #b46900;--filters-token-error-color: #d7263d;--filters-token-paren-color: #005cc5;--filters-token-num-color: #6f42c1;--filters-token-operator-color: #22863a;--docsearch-sidepanel-border: var(--border-color);--docsearch-sidepanel-background: rgb(244, 246, 250);--docsearch-sidepanel-background-dark: #fff;--docsearch-hit-background-muted: rgb(247, 247, 248);--docsearch-searchbox-focus-background: #fff}:root.dark,html[data-theme=dark]{--icon-stroke: #ffffff;--border-color: rgb(var(--gray-900) / 0.8);--docsearch-background-color: #0a0b11 !important;--docsearch-dropdown-menu-background: #10121e;--docsearch-dropdown-menu-item-hover-background: #0a0b11;--docsearch-hit-color: #e5e7eb;--filters-token-string-color: #ffa657;--filters-token-error-color: #ff6b6b;--filters-token-paren-color: #79c0ff;--filters-token-num-color: #d2a8ff;--filters-token-operator-color: #7ee787;--docsearch-sidepanel-background: rgb(15, 17, 23);--docsearch-sidepanel-background-dark: rgba(11, 13, 17, 1);--docsearch-hit-background-muted: rgb(14, 17, 23);--docsearch-modal-background: #0a0b11;--docsearch-hit-focus-background: rgb(var(--gray-900))}.rounded-\\[0\\.85rem\\]{border-radius:var(--radius)}#banner{background-color:#23263b}#banner a{color:inherit}#background-div{background-color:#f6f6fa}.dark #background-div{background-color:#ffffff;opacity:0.03}#pagination{display:none}.background-lines{fill:#c5c9e0}.dark .background-lines{fill:#ffffff;fill-opacity:0.15}th{text-align:left}.tooltip{user-select:text}.prose a{font-weight:inherit}.prose a strong{font-weight:600}.katex-display>.katex{overflow-y:hidden}.prose a.link[href^=\"http\"]:not([href^=\"https://www.algolia.com/doc\"]){white-space:nowrap}.prose a.link[href^=\"http\"]:not([href^=\"https://www.algolia.com/doc\"])::after{display:inline-block;width:14px;height:14px;margin-left:4px;vertical-align:-2px;content:\"\";background-color:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E\u003cpath d='M15 3h6v6'/%3E\u003cpath d='M10 14 21 3'/%3E\u003cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E\u003cpath d='M15 3h6v6'/%3E\u003cpath d='M10 14 21 3'/%3E\u003cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\") center / contain no-repeat}.prose h2 code,.prose h3 code,.prose h4 code{font-weight:700}.prose table a code{word-break:keep-all}[data-component-part=\"field-content\"]{margin-left:1.5rem}[data-component-part=\"code-block-root\"]{border-radius:var(--radius)}#content-area img{margin-inline:auto;background:transparent!important}#content-area img:not(.no-shadow){box-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1)}#content-area video{margin-inline:auto}.video-embed{display:block;width:100%;min-width:0;max-width:var(--video-embed-max-width, 644px);aspect-ratio:16 / 9;height:auto;margin-inline:auto}button+div[aria-hidden=\"true\"]{background-color:#23263b;border-radius:var(--radius);box-shadow:0 0 0 1px #23263b0d, 0 4px 8px -2px #23263b40;color:#fff;padding:.5rem .75rem}#feedback-toolbar button{border-radius:var(--radius)}html.no-overflow{overflow:hidden}body.DocSearch--active{overflow:initial!important}.DocSearch-Container{visibility:hidden;opacity:0;transition:opacity 120ms ease;padding-top:5vh;position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.1);display:flex;align-items:flex-start;justify-content:center;z-index:200;cursor:initial}.DocSearch-Container.docsearch-ready{visibility:visible;opacity:1}.dark .DocSearch-Form,.dark .DocSearch-SearchBar{background-color:transparent!important}.DocSearch-Dropdown{border-top:1px solid var(--docsearch-subtle-color);scrollbar-color:#9698c3 #f5f6f7;scrollbar-width:thin}.dark .DocSearch-Container{--docsearch-text-color: #c4c7dc}.dark .DocSearch-Dropdown{scrollbar-color:#7f8497 #15172a}.dark .DocSearch-Close{color:#5172FF}.dark .DocSearch-Close svg{color:#5172FF}.dark .DocSearch-MagnifierLabel svg{color:#5172FF}.DocSearch-SidepanelButton.floating{display:none}.dark .DocSearch-Dropdown{border-color:#212139}.dark .DocSearch-Divider{border-color:#212139}.dark .DocSearch-Input{color:white;caret-color:white}.dark .DocSearch-Container{background-color:rgba(0, 0, 0, 0.6)!important}.dark .DocSearch-SearchBar,.dark .DocSearch-Form,.dark .DocSearch-Input{color:#ffffff!important}.dark .DocSearch-Input::placeholder{color:#ffffff!important;opacity:0.9}.dark .DocSearch-Reset,.dark .DocSearch-Reset span,.dark .DocSearch-Reset svg,.dark .DocSearch-Close,.dark .DocSearch-Close svg{color:#5172ff!important;fill:#5172ff!important;stroke:#5172ff!important}.dark .DocSearch-Cancel,.dark .DocSearch-Cancel svg{color:#ffffff!important;fill:#ffffff!important;stroke:#ffffff!important}.dark .DocSearch-MagnifierLabel,.dark .DocSearch-MagnifierLabel svg{color:#5172ff!important;fill:#5172ff!important;stroke:#5172ff!important}.dark .DocSearch-Dropdown{background-color:#0a0b11!important}.dark .DocSearch-Hits mark{background-color:transparent!important;color:#7aa2ff!important}.dark .DocSearch-Hit a{color:#e5e7eb!important;border-color:#1b1e29!important}.dark .DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.dark .DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon{color:#7aa2ff}.dark .DocSearch-Title,.dark .DocSearch-Label{background-color:#0f1117!important}.dark .DocSearch-Title,.dark .DocSearch-Label,.dark .DocSearch-Hit-source{color:#e5e7eb!important}.dark .DocSearch-Footer{background-color:#0f1117!important;border-top:1px solid #1b1e29!important;color:#cbd5e1!important}.DocSearch-Hit--AskAI .DocSearch-AskAiScreen-Response .DocSearch-AskAiScreen-RelatedSources-Item-Link{background:var(--docsearch-hit-background-muted)!important}.DocSearch-Hit-AskAIButton-title-query{color:var(--docsearch-highlight-color)}.dark .DocSearch-Hit-AskAIButton-title-query{color:#7aa2ff!important}.dark .DocSearch-AskAiScreen-Response{color:#f5f6f7!important}.dark .DocSearch-Markdown-Content,.dark .DocSearch-Markdown-Content li{color:#cbd5e1!important}.dark .DocSearch-Markdown-Content a{color:#7aa2ff!important}.dark .DocSearch-AskAiScreen-RelatedSources-Item-Link{color:#cbd5e1}.dark .DocSearch-AskAiScreen-Response .DocSearch-CodeSnippet .DocSearch-CodeSnippet-CopyButton{background-color:#0f1117!important;color:#cbd5e1!important}.dark .DocSearch-AskAiScreen-Response .DocSearch-CodeSnippet pre{background-color:#0f1117!important;color:#e5e7eb!important}.dark .DocSearch-AskAiScreen-Response .DocSearch-CodeSnippet pre code{background-color:transparent!important;color:inherit!important}.DocSearch-Modal{position:relative;overflow:hidden;width:700px;max-width:90vw;border-radius:var(--radius);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15)}.docsearch-expanded .DocSearch-Modal{max-height:auto;border-radius:var(--radius);box-shadow:0 25px 50px -12px rgba(0, 0, 0, 0.25)}@media (max-width: 768px){.DocSearch-Container{padding-top:0}.DocSearch-Modal{width:100vw;max-width:100vw;border-radius:var(--radius)}.docsearch-expanded .DocSearch-Modal{max-height:100vh;border-radius:var(--radius)}.DocSearch-Dropdown{height:calc(100vh - var(--docsearch-footer-height) - var(--docsearch-searchbox-height, var(--docsearch-searchbox-initial-height)))}.docsearch-sidepanel-toggle .docsearch-sidepanel-label,.docsearch-sidepanel-toggle .docsearch-sidepanel-shortcut{display:none}.docsearch-sidepanel-toggle{padding:0 0.5rem}}@media (min-width: 769px){.docsearch-sidepanel-toggle{border:1px solid transparent;box-shadow:0 0 0 1px rgba(156, 163, 175, 0.3)}.docsearch-sidepanel-toggle:hover{box-shadow:0 0 0 1px rgba(75, 85, 99, 0.3)}html.dark .docsearch-sidepanel-toggle{box-shadow:0 0 0 1px rgba(75, 85, 99, 0.3)}html.dark .docsearch-sidepanel-toggle:hover{box-shadow:0 0 0 1px rgba(107, 114, 128, 0.3)}}.DocSearch-Sidepanel-Header{height:3.0rem}.DocSearch-Sidepanel-Container.inline.side-right{border-bottom-left-radius:0;border-left:1px solid var(--docsearch-sidepanel-border);border-top-left-radius:0}.DocSearch-Sidepanel-Container{box-shadow:none}.DocSearch-MCP-Callout{font-size:0.875em;display:flex;align-items:center;gap:0.25rem;color:var(--docsearch-text-color);padding-inline:0.25rem 0.5rem;padding-block:0.25rem;border-radius:var(--docsearch-border-radius);background-color:var(--docsearch-hit-focus-background);min-block-size:1.5rem}.DocSearch-MCP-Callout:hover,.DocSearch-MCP-Callout:focus-visible{outline:2px solid var(--docsearch-highlight-color)}.DocSearch-MCP-Callout svg{height:1rem;width:1rem;color:var(--docsearch-highlight-color);margin-block-start:1px}html.dark #filter-validator{background-color:var(--shiki-dark-bg)}#filter-validator{.Token_EOF {\n color: transparent;\n }\n\n .Token_Empty_Str,\n .Token_Incomplete_Str,\n .Token_String,\n .Token_Term {\n color: var(--filters-token-string-color);\n }\n\n .Token_Error {\n color: var(--filters-token-error-color);\n }\n\n .Token_Open_Paren,\n .Token_Close_Paren,\n .Token_Open_Angled_Bracket,\n .Token_Close_Angled_Bracket,\n .Token_Comma,\n .Token_Facet_Separator {\n color: var(--filters-token-paren-color);\n }\n\n .Token_Num {\n color: var(--filters-token-num-color);\n }\n\n .Token_OR,\n .Token_AND,\n .Token_NOT,\n .Token_Operator,\n .Token_Range {\n color: var(--filters-token-operator-color);\n }}.nav-tag-pill-text{text-transform:uppercase;letter-spacing:1px}[data-group-tag]>button>div{display:flex;align-items:center;gap:0.5rem}.steps .step .prose ol{list-style-type:lower-alpha}.no-bullets ul{margin-top:1rem;padding-left:0;margin-left:0;list-style:none}@layer components{.prose .no-bullets li{margin:0.5rem 0;margin-left:0!important;padding-left:0!important;list-style:none}}.no-bullets a.link{border-bottom-color:transparent}.no-bullets a.link:hover,.no-bullets a.link:focus-visible{border-bottom-color:rgb(57, 112, 255)}.no-bullets li::before{content:none!important}.homepage-hero{background-color:#23263b;background-image:linear-gradient(\n 90deg,\n rgba(12, 30, 69, 0.82) 0%,\n rgba(12, 30, 69, 0.72) 34%,\n rgba(12, 30, 69, 0.58) 58%,\n rgba(12, 30, 69, 0.44) 100%\n ),\n url(\"/mintlify-assets/hero.png\");background-position:center, 72% center;background-repeat:no-repeat;background-size:cover}@supports (background-image: image-set(url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x)){.homepage-hero{background-image:linear-gradient(\n 90deg,\n rgba(12, 30, 69, 0.82) 0%,\n rgba(12, 30, 69, 0.72) 34%,\n rgba(12, 30, 69, 0.58) 58%,\n rgba(12, 30, 69, 0.44) 100%\n ),\n image-set(\n url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x,\n url(\"/mintlify-assets/hero.png\") type(\"image/png\") 1x\n )}}@supports (background-image: -webkit-image-set(url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x)){.homepage-hero{background-image:linear-gradient(\n 90deg,\n rgba(12, 30, 69, 0.82) 0%,\n rgba(12, 30, 69, 0.72) 34%,\n rgba(12, 30, 69, 0.58) 58%,\n rgba(12, 30, 69, 0.44) 100%\n ),\n -webkit-image-set(\n url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x,\n url(\"/mintlify-assets/hero.png\") type(\"image/png\") 1x\n )}}.homepage-hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:0;padding:0.5rem 0.875rem;border-radius:var(--radius);background:linear-gradient(220deg, rgb(69, 122, 255) 0%, rgb(30, 89, 255) 60.16%);color:#fff!important;font-family:Sora, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.5rem;letter-spacing:0.28px;text-decoration:none;transition:all 150ms ease}.homepage-hero-cta:hover{background:linear-gradient(138deg, rgba(118, 160, 255, 0.7) 0%, rgba(0, 61, 255, 0.7) 25.08%, rgba(151, 71, 255, 0.7) 56.38%, rgba(118, 160, 255, 0.7) 100%), rgb(0, 61, 255);color:#fff!important}@media (min-width: 1024px){.homepage-hero-cta{padding:0.75rem 1.25rem;font-size:1rem;letter-spacing:0.32px}}.sig-param-link{color:inherit;text-decoration:underline;text-decoration-style:dotted;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb, currentColor 45%, transparent);cursor:pointer;border-radius:2px;transition:text-decoration-color 120ms ease, text-decoration-thickness 120ms ease}.sig-param-link:hover,.sig-param-link:focus-visible,.line:has(.sig-param-link:hover) .sig-param-link,.line:has(.sig-param-link:focus-visible) .sig-param-link{text-decoration-style:solid;text-decoration-thickness:2px;text-decoration-color:currentColor;outline:none}.mint-flavor-switcher-slot{min-height:2.75rem;margin:0.25rem 0 1.5rem}.mint-flavor-switcher-slot .mint-flavor-switcher{margin:0}"}],"page":{"pagePath":"doc/rest-api/ingestion/validate-source","slug":"/doc/rest-api/ingestion/validate-source","pageMetadata":{"title":"Validate a source payload","description":"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.","openapi":"specs/ingestion.yml post /1/sources/validate","public":true,"href":"/doc/rest-api/ingestion/validate-source"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required ACL:`}),` `,_jsx(_components.code,{children:`addObject`}),`, `,_jsx(_components.code,{children:`deleteIndex`}),`, `,_jsx(_components.code,{children:`editSettings`})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Validate a source payload","description":"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.","openapi":"specs/ingestion.yml post /1/sources/validate","public":true,"href":"/doc/rest-api/ingestion/validate-source"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/algolia/34bdaaeaccaa769c/docsearch.js","/_mintlify/custom/algolia/e18afef8ba6306ba/one-trust.js","/_mintlify/custom/algolia/5a5e6ade8ff45aec/utm-attribution.js","/_mintlify/custom/algolia/a4b9f2f416e55759/iframe-resize.js","/_mintlify/custom/algolia/dbca34a8de6b147e/instantsearch-api-signature-links.js","/_mintlify/custom/algolia/4e6ff31277aab3f2/segment-analytics.js","/_mintlify/custom/algolia/ae5f1d742fc727f6/optinmonster.js"],"openApiReferenceData":{"operation":{"tags":["sources"],"summary":"Validate a source payload","description":"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.","operationId":"validateSource","x-acl":["addObject","deleteIndex","editSettings"],"x-timeouts":{"connect":180000,"read":180000,"write":180000},"requestBody":"391638d7-15b5-4b97-bf95-d5a86880eb5c","responses":{"200":"b9d4536c-9314-4571-b444-da6366902141","400":"6b8ae68b-e688-4b27-a04b-63fc33a3b62b"},"x-codeSamples":[{"lang":"csharp","label":"C#","source":"// Initialize the client\nvar client = new IngestionClient(\n new IngestionConfig(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\")\n);\n\n// Call the API\nvar response = await client.ValidateSourceAsync(\n new SourceCreate\n {\n Type = Enum.Parse\u003cSourceType>(\"Commercetools\"),\n Name = \"sourceName\",\n Input = new SourceInput(\n new SourceCommercetools\n {\n StoreKeys = new List\u003cstring> { \"myStore\" },\n Locales = new List\u003cstring> { \"de\" },\n Url = \"http://commercetools.com\",\n ProjectKey = \"keyID\",\n }\n ),\n AuthenticationID = \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n }\n);\n\n// print the response\nConsole.WriteLine(response);"},{"lang":"dart","label":"Dart","source":"// Initialize the client\nfinal client = IngestionClient(\n appId: 'ALGOLIA_APPLICATION_ID',\n apiKey: 'ALGOLIA_API_KEY',\n region: 'ALGOLIA_APPLICATION_REGION');\n\n// Call the API\nfinal response = await client.validateSource(\n sourceCreate: SourceCreate(\n type: SourceType.fromJson(\"commercetools\"),\n name: \"sourceName\",\n input: SourceCommercetools(\n storeKeys: [\n \"myStore\",\n ],\n locales: [\n \"de\",\n ],\n url: \"http://commercetools.com\",\n projectKey: \"keyID\",\n ),\n authenticationID: \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n ),\n);\n\n// print the response\nprint(response);"},{"lang":"go","label":"Go","source":"// Initialize the client with your application region, eg. ingestion.ALGOLIA_APPLICATION_REGION\nclient, err := ingestion.NewClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", ingestion.US)\nif err != nil {\n // The client can fail to initialize if you pass an invalid parameter.\n panic(err)\n}\n\n// Call the API\nresponse, err := client.ValidateSource(client.NewApiValidateSourceRequest().WithSourceCreate(\n ingestion.NewEmptySourceCreate().\n SetType(ingestion.SourceType(\"commercetools\")).\n SetName(\"sourceName\").\n SetInput(ingestion.SourceCommercetoolsAsSourceInput(\n ingestion.NewEmptySourceCommercetools().SetStoreKeys(\n []string{\"myStore\"}).SetLocales(\n []string{\n \"de\",\n }).\n SetUrl(\"http://commercetools.com\").SetProjectKey(\"keyID\"))).\n SetAuthenticationID(\"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"),\n),\n)\nif err != nil {\n // handle the eventual error\n panic(err)\n}\n\n\n// print the response\nprint(response)"},{"lang":"java","label":"Java","source":"// Initialize the client\nIngestionClient client = new IngestionClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\");\n\n// Call the API\nWatchResponse response = client.validateSource(\n new SourceCreate()\n .setType(SourceType.COMMERCETOOLS)\n .setName(\"sourceName\")\n .setInput(\n new SourceCommercetools()\n .setStoreKeys(Arrays.asList(\"myStore\"))\n .setLocales(Arrays.asList(\"de\"))\n .setUrl(\"http://commercetools.com\")\n .setProjectKey(\"keyID\")\n )\n .setAuthenticationID(\"6c02aeb1-775e-418e-870b-1faccd4b2c0f\")\n);\n\n// print the response\nSystem.out.println(response);"},{"lang":"javascript","label":"JavaScript","source":"// Initialize the client\n// Replace 'us' with your Algolia Application Region\nconst client = algoliasearch('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY').initIngestion({ region: 'us' });\n\n// Call the API\nconst response = await client.validateSource({\n type: 'commercetools',\n name: 'sourceName',\n input: { storeKeys: ['myStore'], locales: ['de'], url: 'http://commercetools.com', projectKey: 'keyID' },\n authenticationID: '6c02aeb1-775e-418e-870b-1faccd4b2c0f',\n});\n\n\n// print the response\nconsole.log(response);"},{"lang":"kotlin","label":"Kotlin","source":"// Initialize the client\nval client =\n IngestionClient(\n appId = \"ALGOLIA_APPLICATION_ID\",\n apiKey = \"ALGOLIA_API_KEY\",\n region = \"ALGOLIA_APPLICATION_REGION\",\n )\n\n// Call the API\nvar response =\n client.validateSource(\n sourceCreate =\n SourceCreate(\n type = SourceType.entries.first { it.value == \"commercetools\" },\n name = \"sourceName\",\n input =\n SourceCommercetools(\n storeKeys = listOf(\"myStore\"),\n locales = listOf(\"de\"),\n url = \"http://commercetools.com\",\n projectKey = \"keyID\",\n ),\n authenticationID = \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n )\n )\n\n\n// print the response\nprintln(response)"},{"lang":"php","label":"PHP","source":"// Initialize the client\n$client = IngestionClient::create('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY', 'ALGOLIA_APPLICATION_REGION');\n\n// Call the API\n$response = $client->validateSource(\n ['type' => 'commercetools',\n 'name' => 'sourceName',\n 'input' => ['storeKeys' => [\n 'myStore',\n ],\n 'locales' => [\n 'de',\n ],\n 'url' => 'http://commercetools.com',\n 'projectKey' => 'keyID',\n ],\n 'authenticationID' => '6c02aeb1-775e-418e-870b-1faccd4b2c0f',\n ],\n);\n\n\n// print the response\nvar_dump($response);"},{"lang":"python","label":"Python","source":"# Initialize the client\n# In an asynchronous context, you can use IngestionClient instead, which exposes the exact same methods.\nclient = IngestionClientSync(\n \"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\"\n)\n\n# Call the API\nresponse = client.validate_source(\n source_create={\n \"type\": \"commercetools\",\n \"name\": \"sourceName\",\n \"input\": {\n \"storeKeys\": [\n \"myStore\",\n ],\n \"locales\": [\n \"de\",\n ],\n \"url\": \"http://commercetools.com\",\n \"projectKey\": \"keyID\",\n },\n \"authenticationID\": \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n },\n)\n\n\n# print the response\nprint(response)"},{"lang":"ruby","label":"Ruby","source":"# Initialize the client\nclient = Algolia::IngestionClient.create(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\")\n\n# Call the API\nresponse = client.validate_source(\n Algolia::Ingestion::SourceCreate.new(\n type: \"commercetools\",\n name: \"sourceName\",\n input: Algolia::Ingestion::SourceCommercetools.new(\n store_keys: [\"myStore\"],\n locales: [\"de\"],\n url: \"http://commercetools.com\",\n project_key: \"keyID\"\n ),\n authentication_id: \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"\n )\n)\n\n\n# print the response\nputs(response)"},{"lang":"scala","label":"Scala","source":"// Initialize the client\nval client = IngestionClient(\n appId = \"ALGOLIA_APPLICATION_ID\",\n apiKey = \"ALGOLIA_API_KEY\",\n region = \"ALGOLIA_APPLICATION_REGION\"\n)\n\n// Call the API\nval response = Await.result(\n client.validateSource(\n sourceCreate = Some(\n SourceCreate(\n `type` = SourceType.withName(\"commercetools\"),\n name = \"sourceName\",\n input = Some(\n SourceCommercetools(\n storeKeys = Some(Seq(\"myStore\")),\n locales = Some(Seq(\"de\")),\n url = \"http://commercetools.com\",\n projectKey = \"keyID\"\n )\n ),\n authenticationID = Some(\"6c02aeb1-775e-418e-870b-1faccd4b2c0f\")\n )\n )\n ),\n Duration(100, \"sec\")\n)\n\n// print the response\nprintln(response)"},{"lang":"swift","label":"Swift","source":"// Initialize the client\nlet client = try IngestionClient(appID: \"ALGOLIA_APPLICATION_ID\", apiKey: \"ALGOLIA_API_KEY\", region: .us)\n\n// Call the API\nlet response = try await client.validateSource(sourceCreate: SourceCreate(\n type: SourceType.commercetools,\n name: \"sourceName\",\n input: SourceInput.sourceCommercetools(SourceCommercetools(\n storeKeys: [\"myStore\"],\n locales: [\"de\"],\n url: \"http://commercetools.com\",\n projectKey: \"keyID\"\n )),\n authenticationID: \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"\n))\n\n// print the response\nprint(response)"},{"lang":"cURL","label":"curl","source":"curl --request POST \\\n --url https://data.us.algolia.com/1/sources/validate \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header 'x-algolia-api-key: ALGOLIA_API_KEY' \\\n --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID' \\\n --data '\n{\n \"type\": \"algoliaIndex\",\n \"name\": \"lorem\",\n \"input\": {\n \"storeKeys\": [\n \"lorem\"\n ],\n \"locales\": [\n \"fr-FR\"\n ],\n \"url\": \"lorem\",\n \"projectKey\": \"lorem\",\n \"fallbackIsInStockValue\": true,\n \"productQueryPredicate\": \"lorem\",\n \"useImagesObjects\": true,\n \"customFields\": {\n \"inventory\": [\n \"lorem\"\n ],\n \"price\": [\n \"lorem\"\n ],\n \"category\": [\n \"lorem\"\n ]\n }\n },\n \"authenticationID\": \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"\n}\n'"}],"method":"post","type":"path","servers":["059b1367-0c02-4631-a1c5-9b7ce91d194c"],"security":["408fa726-838a-4482-9d44-c78fd2f63d41"],"path":"/1/sources/validate","baseUrlOptions":["https://data.{region}.algolia.com"],"title":"Validate a source payload","codeSamples":[{"label":"C#","lang":"csharp","source":"// Initialize the client\nvar client = new IngestionClient(\n new IngestionConfig(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\")\n);\n\n// Call the API\nvar response = await client.ValidateSourceAsync(\n new SourceCreate\n {\n Type = Enum.Parse\u003cSourceType>(\"Commercetools\"),\n Name = \"sourceName\",\n Input = new SourceInput(\n new SourceCommercetools\n {\n StoreKeys = new List\u003cstring> { \"myStore\" },\n Locales = new List\u003cstring> { \"de\" },\n Url = \"http://commercetools.com\",\n ProjectKey = \"keyID\",\n }\n ),\n AuthenticationID = \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n }\n);\n\n// print the response\nConsole.WriteLine(response);"},{"label":"Dart","lang":"dart","source":"// Initialize the client\nfinal client = IngestionClient(\n appId: 'ALGOLIA_APPLICATION_ID',\n apiKey: 'ALGOLIA_API_KEY',\n region: 'ALGOLIA_APPLICATION_REGION');\n\n// Call the API\nfinal response = await client.validateSource(\n sourceCreate: SourceCreate(\n type: SourceType.fromJson(\"commercetools\"),\n name: \"sourceName\",\n input: SourceCommercetools(\n storeKeys: [\n \"myStore\",\n ],\n locales: [\n \"de\",\n ],\n url: \"http://commercetools.com\",\n projectKey: \"keyID\",\n ),\n authenticationID: \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n ),\n);\n\n// print the response\nprint(response);"},{"label":"Go","lang":"go","source":"// Initialize the client with your application region, eg. ingestion.ALGOLIA_APPLICATION_REGION\nclient, err := ingestion.NewClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", ingestion.US)\nif err != nil {\n // The client can fail to initialize if you pass an invalid parameter.\n panic(err)\n}\n\n// Call the API\nresponse, err := client.ValidateSource(client.NewApiValidateSourceRequest().WithSourceCreate(\n ingestion.NewEmptySourceCreate().\n SetType(ingestion.SourceType(\"commercetools\")).\n SetName(\"sourceName\").\n SetInput(ingestion.SourceCommercetoolsAsSourceInput(\n ingestion.NewEmptySourceCommercetools().SetStoreKeys(\n []string{\"myStore\"}).SetLocales(\n []string{\n \"de\",\n }).\n SetUrl(\"http://commercetools.com\").SetProjectKey(\"keyID\"))).\n SetAuthenticationID(\"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"),\n),\n)\nif err != nil {\n // handle the eventual error\n panic(err)\n}\n\n\n// print the response\nprint(response)"},{"label":"Java","lang":"java","source":"// Initialize the client\nIngestionClient client = new IngestionClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\");\n\n// Call the API\nWatchResponse response = client.validateSource(\n new SourceCreate()\n .setType(SourceType.COMMERCETOOLS)\n .setName(\"sourceName\")\n .setInput(\n new SourceCommercetools()\n .setStoreKeys(Arrays.asList(\"myStore\"))\n .setLocales(Arrays.asList(\"de\"))\n .setUrl(\"http://commercetools.com\")\n .setProjectKey(\"keyID\")\n )\n .setAuthenticationID(\"6c02aeb1-775e-418e-870b-1faccd4b2c0f\")\n);\n\n// print the response\nSystem.out.println(response);"},{"label":"JavaScript","lang":"javascript","source":"// Initialize the client\n// Replace 'us' with your Algolia Application Region\nconst client = algoliasearch('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY').initIngestion({ region: 'us' });\n\n// Call the API\nconst response = await client.validateSource({\n type: 'commercetools',\n name: 'sourceName',\n input: { storeKeys: ['myStore'], locales: ['de'], url: 'http://commercetools.com', projectKey: 'keyID' },\n authenticationID: '6c02aeb1-775e-418e-870b-1faccd4b2c0f',\n});\n\n\n// print the response\nconsole.log(response);"},{"label":"Kotlin","lang":"kotlin","source":"// Initialize the client\nval client =\n IngestionClient(\n appId = \"ALGOLIA_APPLICATION_ID\",\n apiKey = \"ALGOLIA_API_KEY\",\n region = \"ALGOLIA_APPLICATION_REGION\",\n )\n\n// Call the API\nvar response =\n client.validateSource(\n sourceCreate =\n SourceCreate(\n type = SourceType.entries.first { it.value == \"commercetools\" },\n name = \"sourceName\",\n input =\n SourceCommercetools(\n storeKeys = listOf(\"myStore\"),\n locales = listOf(\"de\"),\n url = \"http://commercetools.com\",\n projectKey = \"keyID\",\n ),\n authenticationID = \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n )\n )\n\n\n// print the response\nprintln(response)"},{"label":"PHP","lang":"php","source":"// Initialize the client\n$client = IngestionClient::create('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY', 'ALGOLIA_APPLICATION_REGION');\n\n// Call the API\n$response = $client->validateSource(\n ['type' => 'commercetools',\n 'name' => 'sourceName',\n 'input' => ['storeKeys' => [\n 'myStore',\n ],\n 'locales' => [\n 'de',\n ],\n 'url' => 'http://commercetools.com',\n 'projectKey' => 'keyID',\n ],\n 'authenticationID' => '6c02aeb1-775e-418e-870b-1faccd4b2c0f',\n ],\n);\n\n\n// print the response\nvar_dump($response);"},{"label":"Python","lang":"python","source":"# Initialize the client\n# In an asynchronous context, you can use IngestionClient instead, which exposes the exact same methods.\nclient = IngestionClientSync(\n \"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\"\n)\n\n# Call the API\nresponse = client.validate_source(\n source_create={\n \"type\": \"commercetools\",\n \"name\": \"sourceName\",\n \"input\": {\n \"storeKeys\": [\n \"myStore\",\n ],\n \"locales\": [\n \"de\",\n ],\n \"url\": \"http://commercetools.com\",\n \"projectKey\": \"keyID\",\n },\n \"authenticationID\": \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\",\n },\n)\n\n\n# print the response\nprint(response)"},{"label":"Ruby","lang":"ruby","source":"# Initialize the client\nclient = Algolia::IngestionClient.create(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\", \"ALGOLIA_APPLICATION_REGION\")\n\n# Call the API\nresponse = client.validate_source(\n Algolia::Ingestion::SourceCreate.new(\n type: \"commercetools\",\n name: \"sourceName\",\n input: Algolia::Ingestion::SourceCommercetools.new(\n store_keys: [\"myStore\"],\n locales: [\"de\"],\n url: \"http://commercetools.com\",\n project_key: \"keyID\"\n ),\n authentication_id: \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"\n )\n)\n\n\n# print the response\nputs(response)"},{"label":"Scala","lang":"scala","source":"// Initialize the client\nval client = IngestionClient(\n appId = \"ALGOLIA_APPLICATION_ID\",\n apiKey = \"ALGOLIA_API_KEY\",\n region = \"ALGOLIA_APPLICATION_REGION\"\n)\n\n// Call the API\nval response = Await.result(\n client.validateSource(\n sourceCreate = Some(\n SourceCreate(\n `type` = SourceType.withName(\"commercetools\"),\n name = \"sourceName\",\n input = Some(\n SourceCommercetools(\n storeKeys = Some(Seq(\"myStore\")),\n locales = Some(Seq(\"de\")),\n url = \"http://commercetools.com\",\n projectKey = \"keyID\"\n )\n ),\n authenticationID = Some(\"6c02aeb1-775e-418e-870b-1faccd4b2c0f\")\n )\n )\n ),\n Duration(100, \"sec\")\n)\n\n// print the response\nprintln(response)"},{"label":"Swift","lang":"swift","source":"// Initialize the client\nlet client = try IngestionClient(appID: \"ALGOLIA_APPLICATION_ID\", apiKey: \"ALGOLIA_API_KEY\", region: .us)\n\n// Call the API\nlet response = try await client.validateSource(sourceCreate: SourceCreate(\n type: SourceType.commercetools,\n name: \"sourceName\",\n input: SourceInput.sourceCommercetools(SourceCommercetools(\n storeKeys: [\"myStore\"],\n locales: [\"de\"],\n url: \"http://commercetools.com\",\n projectKey: \"keyID\"\n )),\n authenticationID: \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"\n))\n\n// print the response\nprint(response)"},{"label":"curl","lang":"cURL","source":"curl --request POST \\\n --url https://data.us.algolia.com/1/sources/validate \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header 'x-algolia-api-key: ALGOLIA_API_KEY' \\\n --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID' \\\n --data '\n{\n \"type\": \"algoliaIndex\",\n \"name\": \"lorem\",\n \"input\": {\n \"storeKeys\": [\n \"lorem\"\n ],\n \"locales\": [\n \"fr-FR\"\n ],\n \"url\": \"lorem\",\n \"projectKey\": \"lorem\",\n \"fallbackIsInStockValue\": true,\n \"productQueryPredicate\": \"lorem\",\n \"useImagesObjects\": true,\n \"customFields\": {\n \"inventory\": [\n \"lorem\"\n ],\n \"price\": [\n \"lorem\"\n ],\n \"category\": [\n \"lorem\"\n ]\n }\n },\n \"authenticationID\": \"6c02aeb1-775e-418e-870b-1faccd4b2c0f\"\n}\n'"}],"requestExampleLanguages":["bash","csharp","dart","go","java","javascript","kotlin","php","python","ruby","scala","swift"],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Descriptive name of the source.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","enum":["algoliaIndex","bigcommerce","bigquery","commercetools","csv","docker","ga4BigqueryExport","json","shopify","push"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"authenticationID":{"type":"string","description":"Universally unique identifier (UUID) of an authentication resource.","example":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","uniqueKey":"authenticationID","typeLabel":"string"},"input":{"oneOf":[{"type":"object","description":"Specific configuration attributes of a `commercetools` source.","required":["url","projectKey"],"x-discriminator-fields":["projectKey"],"properties":{"projectKey":{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.0.projectKey","typeLabel":"string"},"url":{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.0.url","typeLabel":"string"},"customFields":{"type":"object","additionalProperties":false,"description":"Custom fields from commercetools to add to the records.\n\nFor more information, see [Using Custom Types and Custom Fields](https://docs.commercetools.com/tutorials/custom-types).\n","properties":{"category":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.0.customFields.category.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Category custom fields.","uniqueKey":"input.oneOf.0.customFields.category.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"input.oneOf.0.customFields.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.0.customFields.category","typeLabel":"string[] | null"},"inventory":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.0.customFields.inventory.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Inventory custom fields.","uniqueKey":"input.oneOf.0.customFields.inventory.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"input.oneOf.0.customFields.inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.0.customFields.inventory","typeLabel":"string[] | null"},"price":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.0.customFields.price.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Price custom fields.","uniqueKey":"input.oneOf.0.customFields.price.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"input.oneOf.0.customFields.price.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.0.customFields.price","typeLabel":"string[] | null"}},"uniqueKey":"input.oneOf.0.customFields","typeLabel":"object"},"fallbackIsInStockValue":{"type":"boolean","default":true,"description":"Whether a fallback value is stored in the Algolia record if there's no inventory information about the product.\n","uniqueKey":"input.oneOf.0.fallbackIsInStockValue","typeLabel":"boolean"},"locales":{"type":"array","description":"Locales for your commercetools stores.","items":{"type":"string","pattern":"^[a-z]{2}(-[A-Z]{2})?$","description":"Locale specified as combination of a two-letter language code and an optional two-letter country code.","example":"fr-FR","uniqueKey":"input.oneOf.0.locales.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.0.locales","typeLabel":"string[]"},"productQueryPredicate":{"type":"string","description":"Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).\n","uniqueKey":"input.oneOf.0.productQueryPredicate","typeLabel":"string"},"storeKeys":{"type":"array","items":{"description":"Unique and immutable key of the referenced store.","type":"string","uniqueKey":"input.oneOf.0.storeKeys.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.0.storeKeys","typeLabel":"string[]"},"useImagesObjects":{"type":"boolean","description":"When set to true, the connector indexes objects with all images attributes instead of only the URLs.\n","uniqueKey":"input.oneOf.0.useImagesObjects","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"input.oneOf.0","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of a `bigcommerce` source.","required":["storeHash"],"x-discriminator-fields":["storeHash"],"properties":{"storeHash":{"type":"string","description":"Store hash identifying your BigCommerce store.","isRequired":true,"uniqueKey":"input.oneOf.1.storeHash","typeLabel":"string"},"channel":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","description":"ID of the BigCommerce channel.","isRequired":true,"uniqueKey":"input.oneOf.1.channel.id","typeLabel":"integer"},"currencies":{"type":"array","description":"Currencies for the given channel.","example":["usd","eur"],"items":{"type":"string","description":"Three-letter code for the currency.","example":"usd","uniqueKey":"input.oneOf.1.channel.currencies.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.1.channel.currencies","typeLabel":"string[]"}},"required":["id"],"uniqueKey":"input.oneOf.1.channel","typeLabel":"object"},"customFields":{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.1.customFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.1.customFields","typeLabel":"string[]"},"productMetafields":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string","description":"Key identifier of the metafield.","isRequired":true,"uniqueKey":"input.oneOf.1.productMetafields.items.[INDEX].key","typeLabel":"string"},"namespace":{"type":"string","description":"Namespace of the metafield.","isRequired":true,"uniqueKey":"input.oneOf.1.productMetafields.items.[INDEX].namespace","typeLabel":"string"}},"required":["namespace","key"],"uniqueKey":"input.oneOf.1.productMetafields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.productMetafields","typeLabel":"object[]"},"variantMetafields":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string","description":"Key identifier of the metafield.","isRequired":true,"uniqueKey":"input.oneOf.1.variantMetafields.items.[INDEX].key","typeLabel":"string"},"namespace":{"type":"string","description":"Namespace of the metafield.","isRequired":true,"uniqueKey":"input.oneOf.1.variantMetafields.items.[INDEX].namespace","typeLabel":"string"}},"required":["namespace","key"],"uniqueKey":"input.oneOf.1.variantMetafields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.variantMetafields","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"input.oneOf.1","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of a `json` source.","required":["url"],"properties":{"url":{"type":"string","description":"URL of the file.","isRequired":true,"uniqueKey":"input.oneOf.2.url","typeLabel":"string"},"method":{"type":"string","description":"HTTP method to be used for retrieving your data.","enum":["GET","POST"],"uniqueKey":"input.oneOf.2.method","typeLabel":"enum\u003cstring>"},"uniqueIDColumn":{"type":"string","description":"Name of a column that contains a unique ID which will be used as `objectID` in Algolia.","uniqueKey":"input.oneOf.2.uniqueIDColumn","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"input.oneOf.2","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of a `csv` source.","required":["url"],"properties":{"url":{"type":"string","description":"URL of the file.","isRequired":true,"uniqueKey":"input.oneOf.3.url","typeLabel":"string"},"delimiter":{"type":"string","minLength":1,"maxLength":1,"default":",","description":"The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden).","uniqueKey":"input.oneOf.3.delimiter","typeLabel":"string"},"mapping":{"type":"object","description":"Key-value pairs of column names and their expected types.\n","x-additionalPropertyName":"column name","additionalProperties":{"type":"string","enum":["string","integer","float","boolean","json"],"uniqueKey":"input.oneOf.3.mapping.additionalProperties","typeLabel":"enum\u003cstring>"},"uniqueKey":"input.oneOf.3.mapping","typeLabel":"object"},"method":{"type":"string","description":"HTTP method to be used for retrieving your data.","enum":["GET","POST"],"uniqueKey":"input.oneOf.3.method","typeLabel":"enum\u003cstring>"},"uniqueIDColumn":{"type":"string","description":"Name of a column that contains a unique ID which will be used as `objectID` in Algolia.","uniqueKey":"input.oneOf.3.uniqueIDColumn","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"input.oneOf.3","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of a `bigquery` source.","required":["projectID","datasetID"],"x-discriminator-fields":["projectID"],"properties":{"datasetID":{"type":"string","description":"Dataset ID of the BigQuery source.","isRequired":true,"uniqueKey":"input.oneOf.4.datasetID","typeLabel":"string"},"projectID":{"type":"string","description":"Project ID of the BigQuery source.","isRequired":true,"uniqueKey":"input.oneOf.4.projectID","typeLabel":"string"},"customSQLRequest":{"type":"string","description":"Custom SQL request to extract data from the BigQuery table.","uniqueKey":"input.oneOf.4.customSQLRequest","typeLabel":"string"},"dataType":{"type":"string","enum":["ga4","ga360"],"uniqueKey":"input.oneOf.4.dataType","typeLabel":"enum\u003cstring>"},"table":{"type":"string","description":"Table name for the BigQuery export.","uniqueKey":"input.oneOf.4.table","typeLabel":"string"},"tablePrefix":{"type":"string","description":"Table prefix for a Google Analytics 4 data export to BigQuery.","uniqueKey":"input.oneOf.4.tablePrefix","typeLabel":"string"},"uniqueIDColumn":{"type":"string","description":"Name of a column that contains a unique ID which will be used as `objectID` in Algolia.","uniqueKey":"input.oneOf.4.uniqueIDColumn","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"input.oneOf.4","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of a `ga4BigqueryExport` source.","required":["projectID","datasetID","tablePrefix"],"x-discriminator-fields":["projectID","datasetID","tablePrefix"],"properties":{"datasetID":{"type":"string","description":"BigQuery dataset ID that the BigQuery export writes to.","isRequired":true,"uniqueKey":"input.oneOf.5.datasetID","typeLabel":"string"},"projectID":{"type":"string","description":"GCP project ID that the BigQuery export writes to.","isRequired":true,"uniqueKey":"input.oneOf.5.projectID","typeLabel":"string"},"tablePrefix":{"type":"string","description":"Prefix of the tables that the BigQuery Export writes to.","example":"events_intraday_","isRequired":true,"uniqueKey":"input.oneOf.5.tablePrefix","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"input.oneOf.5","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of a `docker` source.","required":["image","configuration"],"x-discriminator-fields":["image","configuration"],"properties":{"configuration":{"type":"object","description":"Configuration of the spec.","isRequired":true,"uniqueKey":"input.oneOf.6.configuration","typeLabel":"object"},"image":{"type":"string","description":"Name of the connector.","example":"zendesk","isRequired":true,"uniqueKey":"input.oneOf.6.image","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"input.oneOf.6","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of a `shopify` source.","required":["shopURL"],"x-discriminator-fields":["shopURL"],"properties":{"shopURL":{"type":"string","description":"URL of the Shopify store.","isRequired":true,"uniqueKey":"input.oneOf.7.shopURL","typeLabel":"string"},"featureFlags":{"type":"object","description":"Feature flags for the Shopify source.","additionalProperties":true,"uniqueKey":"input.oneOf.7.featureFlags","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"input.oneOf.7","typeLabel":"object"},{"type":"object","description":"Specific configuration attributes of an `algoliaIndex` source.","required":["indexName"],"x-discriminator-fields":["indexName"],"properties":{"indexName":{"type":"string","description":"Name of the Algolia index to read records from.","isRequired":true,"uniqueKey":"input.oneOf.8.indexName","typeLabel":"string"},"filters":{"type":"string","description":"SQL-like filter expression applied while browsing the source index.\nSee [filters](https://www.algolia.com/doc/api-reference/api-parameters/filters/).\n","uniqueKey":"input.oneOf.8.filters","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"input.oneOf.8","typeLabel":"object"}],"uniqueKey":"input","typeLabel":"object"}},"required":["type","name"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","authenticationID":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","input":{"projectKey":"\u003cstring>","url":"\u003cstring>","customFields":{"category":["\u003cstring>"],"inventory":["\u003cstring>"],"price":["\u003cstring>"]},"fallbackIsInStockValue":true,"locales":["fr-FR"],"productQueryPredicate":"\u003cstring>","storeKeys":["\u003cstring>"],"useImagesObjects":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b9d4536c-9314-4571-b444-da6366902141":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"runID":{"type":"string","description":"Universally unique identifier (UUID) of a task run.","example":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","isRequired":true,"uniqueKey":"runID","typeLabel":"string"},"createdAt":{"type":"string","description":"Date and time when the resource was created, in RFC 3339 format.","uniqueKey":"createdAt","typeLabel":"string"},"data":{"type":"array","description":"This field is always null when used with the Push endpoint.\nWhen used for a source discover or source validate run, it will include the sampled data of the source.\n","items":{"type":"object","uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data","typeLabel":"object[]"},"eventID":{"type":"string","description":"Universally unique identifier (UUID) of an event.","example":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","uniqueKey":"eventID","typeLabel":"string"},"events":{"description":"in case of error, observability events will be added to the response.","type":"array","items":{"type":"object","description":"An event describe a step of the task execution flow.","additionalProperties":false,"properties":{"batchSize":{"type":"integer","description":"The extracted record batch size.","example":10,"minimum":0,"multipleOf":1,"isRequired":true,"uniqueKey":"events.items.[INDEX].batchSize","typeLabel":"integer"},"eventID":{"type":"string","description":"Universally unique identifier (UUID) of an event.","example":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","isRequired":true,"uniqueKey":"events.items.[INDEX].eventID","typeLabel":"string"},"publishedAt":{"type":"string","description":"Date and time when the resource was published, in RFC 3339 format.","isRequired":true,"uniqueKey":"events.items.[INDEX].publishedAt","typeLabel":"string"},"runID":{"type":"string","description":"Universally unique identifier (UUID) of a task run.","example":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","isRequired":true,"uniqueKey":"events.items.[INDEX].runID","typeLabel":"string"},"status":{"oneOf":[{"type":"string","enum":["created","started","retried","failed","succeeded","critical"],"isRequired":true,"uniqueKey":"events.items.[INDEX].status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"events.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].status","typeLabel":"enum\u003cstring> | null"},"type":{"type":"string","enum":["fetch","record","log","transform"],"isRequired":true,"uniqueKey":"events.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"data":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"events.items.[INDEX].data.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"events.items.[INDEX].data.oneOf.1","typeLabel":"null"}],"uniqueKey":"events.items.[INDEX].data","typeLabel":"object | null"}},"required":["eventID","runID","status","type","batchSize","publishedAt"],"uniqueKey":"events.items.[INDEX]","typeLabel":"object"},"uniqueKey":"events","typeLabel":"object[]"},"message":{"description":"a message describing the outcome of the operation that has been ran (push, discover or validate) run.","type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["runID"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"runID":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","createdAt":"\u003cstring>","data":[{}],"eventID":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","events":[{"batchSize":10,"eventID":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","publishedAt":"\u003cstring>","runID":"6c02aeb1-775e-418e-870b-1faccd4b2c0f","status":"created","type":"fetch","data":{}}],"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6b8ae68b-e688-4b27-a04b-63fc33a3b62b":{"description":"Bad request or request arguments.","content":{"application/json":{"schema":{"description":"Error.","type":"object","x-keep-model":true,"additionalProperties":true,"properties":{"message":{"type":"string","example":"Invalid Application-Id or API-Key","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid Application-Id or API-Key"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"408fa726-838a-4482-9d44-c78fd2f63d41":{"appId":{"type":"apiKey","in":"header","name":"x-algolia-application-id","description":"Your Algolia application ID.","scopes":[],"schemeName":"appId"},"apiKey":{"type":"apiKey","in":"header","name":"x-algolia-api-key","description":"Your Algolia API key with the necessary permissions to make the request.\nPermissions are controlled through access control lists (ACL) and access restrictions.\nThe required ACL to make a request is listed in each endpoint's reference.\n","scopes":[],"schemeName":"apiKey"}}},"servers":{"059b1367-0c02-4631-a1c5-9b7ce91d194c":{"url":"https://data.{region}.algolia.com","variables":{"region":{"description":"The region where your Algolia application is hosted.","enum":["eu","us"],"default":"us"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-algolia-application-id","description":"Your Algolia application ID.","scopes":[],"schemeName":"appId"},"schema":{"title":"x-algolia-application-id","type":"string","description":"Your Algolia application ID.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"appId","name":"x-algolia-application-id"},{"scheme":{"type":"apiKey","in":"header","name":"x-algolia-api-key","description":"Your Algolia API key with the necessary permissions to make the request.\nPermissions are controlled through access control lists (ACL) and access restrictions.\nThe required ACL to make a request is listed in each endpoint's reference.\n","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-algolia-api-key","type":"string","description":"Your Algolia API key with the necessary permissions to make the request.\nPermissions are controlled through access control lists (ACL) and access restrictions.\nThe required ACL to make a request is listed in each endpoint's reference.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-algolia-api-key"}],"title":"appId \u0026 apiKey"}]},"originalFileLocation":"specs/ingestion.yml"},"subdomain":"algolia","siteName":"Algolia","title":"Validate a source payload - Algolia","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-23T09:45:05.433Z","gitLastModified":"2026-03-23T09:42:41.000Z","originalFileLocation":"doc/rest-api/ingestion/validate-source.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=\"description\" content=\"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Algolia\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_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/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_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/algolia/pODf0GWwkpqTo2Wx/_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/algolia/pODf0GWwkpqTo2Wx/_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/algolia/pODf0GWwkpqTo2Wx/_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/algolia/pODf0GWwkpqTo2Wx/_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/algolia/pODf0GWwkpqTo2Wx/_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/algolia/pODf0GWwkpqTo2Wx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Validate a source payload - Algolia\">\u003cmeta data-mint-head property=\"og:description\" content=\"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Algolia\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.algolia.com/doc/rest-api/ingestion/validate-source\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://algolia.mintlify.site/_mintlify/api/og/v2?division=Sources\u0026amp;title=Validate+a+source+payload\u0026amp;description=Validates+a+source+payload+to+ensure+it+can+be+created+and+that+the+data+source+can+be+reached+by+Algolia.\u0026amp;theme=7b696fa6ef3d890ba8a17746\u0026amp;signature=023e0b3d8c3685ac2041aef4e3b4bb0a16094970883822da01c0176ebd81af32\">\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=\"Validate a source payload - Algolia\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://algolia.mintlify.site/_mintlify/api/og/v2?division=Sources\u0026amp;title=Validate+a+source+payload\u0026amp;description=Validates+a+source+payload+to+ensure+it+can+be+created+and+that+the+data+source+can+be+reached+by+Algolia.\u0026amp;theme=7b696fa6ef3d890ba8a17746\u0026amp;signature=023e0b3d8c3685ac2041aef4e3b4bb0a16094970883822da01c0176ebd81af32\">\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/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Algolia\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3970ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.algolia.com/doc/rest-api/ingestion/validate-source\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/doc/rest-api/ingestion/validate-source.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.algolia.com/#organization\",\"name\":\"Algolia\",\"url\":\"https://www.algolia.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/algolia/kiecJp3hu-WXhj-3/logo/light.svg?fit=max\u0026auto=format\u0026n=kiecJp3hu-WXhj-3\u0026q=85\u0026s=bf613e260ca94c0eb23384e6c0d5c77f\"},\"sameAs\":[\"https://www.linkedin.com/company/algolia/\",\"https://github.com/algolia\",\"https://x.com/algolia\",\"https://www.youtube.com/channel/UCTNkiq-SO8hay1PRx-it9Cw\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.algolia.com#website\",\"name\":\"Algolia\",\"url\":\"https://www.algolia.com\",\"publisher\":{\"@id\":\"https://www.algolia.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source#webpage\",\"url\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source\",\"name\":\"Validate a source payload\",\"description\":\"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.\",\"dateModified\":\"2026-03-23T09:42:41.000Z\",\"isPartOf\":{\"@id\":\"https://www.algolia.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ingestion API\",\"item\":\"https://www.algolia.com/doc/rest-api/ingestion\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sources\",\"item\":\"https://www.algolia.com/doc/rest-api/ingestion/list-sources\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Validate a source payload\",\"item\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source#apireference\",\"headline\":\"Validate a source payload\",\"name\":\"Validate a source payload\",\"description\":\"Validates a source payload to ensure it can be created and that the data source can be reached by Algolia.\",\"url\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source\",\"mainEntityOfPage\":{\"@id\":\"https://www.algolia.com/doc/rest-api/ingestion/validate-source#webpage\"},\"dateModified\":\"2026-03-23T09:42:41.000Z\",\"publisher\":{\"@id\":\"https://www.algolia.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.algolia.com#website\"}}]}\u003c/script>","agentPointerHref":"/doc/rest-api/ingestion/validate-source.md","siteName":"Algolia","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-text","pages":[{"title":"Guides","href":"/doc/guides/get-started"}]},{"tab":"Libraries and tools","icon":"wrench","menu":[{"item":"API clients","versions":[{"version":"current","groups":[{"group":"current","pages":[{"title":"current","href":"/doc/libraries/sdk"}]}]},{"version":"legacy","groups":[{"group":"legacy","pages":[{"title":"legacy","href":"/doc/libraries/sdk/v1/install"}]}]}]},{"item":"Algolia CLI","pages":[{"title":"Algolia CLI","href":"/doc/tools/cli/get-started"}]},{"item":"Algolia Wizard","pages":[{"title":"Algolia Wizard","href":"/doc/tools/algolia-wizard"}]},{"item":"Crawler","pages":[{"title":"Crawler","href":"/doc/tools/crawler/getting-started/overview"}]},{"item":"Django","pages":[{"title":"Django","href":"/doc/framework-integration/django/setup"}]},{"item":"Laravel","pages":[{"title":"Laravel","href":"/doc/framework-integration/laravel/getting-started/introduction-to-scout-extended"}]},{"item":"Ruby on Rails","pages":[{"title":"Ruby on Rails","href":"/doc/framework-integration/rails/getting-started/setup"}]},{"item":"Symfony","pages":[{"title":"Symfony","href":"/doc/framework-integration/symfony/getting-started/algolia-searchbundle"}]},{"item":"All libraries and tools","pages":[{"title":"All libraries and tools","href":"/doc/libraries"}]}],"pages":[{"title":"Libraries and tools","href":"/doc/libraries/sdk"}]},{"tab":"UI libraries","icon":"proportions","menu":[{"item":"InstantSearch.js","pages":[{"title":"InstantSearch.js","href":"/doc/api-reference/widgets/js"}]},{"item":"React InstantSearch","pages":[{"title":"React InstantSearch","href":"/doc/api-reference/widgets/react"}]},{"item":"Vue InstantSearch","pages":[{"title":"Vue InstantSearch","href":"/doc/api-reference/widgets/vue"}]},{"item":"InstantSearch iOS","pages":[{"title":"InstantSearch iOS","href":"/doc/api-reference/widgets/ios"}]},{"item":"InstantSearch Android","pages":[{"title":"InstantSearch Android","href":"/doc/api-reference/widgets/android"}]},{"item":"Algolia for Flutter","pages":[{"title":"Algolia for Flutter","href":"/doc/api-reference/widgets/flutter"}]},{"item":"Autocomplete","pages":[{"title":"Autocomplete","href":"/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete"}]},{"item":"All UI libraries","pages":[{"title":"All UI libraries","href":"/doc/ui-libraries"}]}],"pages":[{"title":"UI libraries","href":"/doc/api-reference/widgets/js"}]},{"tab":"Integrations","icon":"plug","menu":[{"item":"Adobe Commerce/Magento","pages":[{"title":"Adobe Commerce/Magento","href":"/doc/integration/magento-2/getting-started/quick-start"}]},{"item":"BigCommerce","pages":[{"title":"BigCommerce","href":"/doc/integration/bigcommerce/get-started/installation"}]},{"item":"commercetools","pages":[{"title":"commercetools","href":"/doc/integration/commercetools/get-started/installation"}]},{"item":"Make","pages":[{"title":"Make","href":"/doc/integration/make"}]},{"item":"n8n","pages":[{"title":"n8n","href":"/doc/integration/n8n"}]},{"item":"Salesforce B2C Commerce","pages":[{"title":"Salesforce B2C Commerce","href":"/doc/integration/salesforce-commerce-cloud-b2c/getting-started/introduction"}]},{"item":"Shopify","pages":[{"title":"Shopify","href":"/doc/integration/shopify/getting-started/quick-start"}]},{"item":"Stripe Projects","pages":[{"title":"Stripe Projects","href":"/doc/integration/stripe-projects"}]},{"item":"Zapier","pages":[{"title":"Zapier","href":"/doc/integration/zapier"}]},{"item":"Zendesk","pages":[{"title":"Zendesk","href":"/doc/integration/zendesk/get-started"}]},{"item":"Vercel","pages":[{"title":"Vercel","href":"/doc/integration/vercel"}]},{"item":"All integrations","pages":[{"title":"All integrations","href":"/doc/integration"}]}],"pages":[{"title":"Integrations","href":"/doc/integration/magento-2/getting-started/quick-start"}]},{"tab":"API reference","icon":"code","menu":[{"item":"Search","pages":[{"title":"Search","href":"/doc/rest-api/search"}]},{"item":"Agent Studio","pages":[{"title":"Agent Studio","href":"/doc/rest-api/agent-studio"}]},{"item":"A/B testing","pages":[{"title":"A/B testing","href":"/doc/rest-api/abtesting-v3"}]},{"item":"Advanced Personalization","pages":[{"title":"Advanced Personalization","href":"/doc/rest-api/advanced-personalization"}]},{"item":"Analytics","pages":[{"title":"Analytics","href":"/doc/rest-api/analytics"}]},{"item":"Classic Personalization","pages":[{"title":"Classic Personalization","href":"/doc/rest-api/personalization"}]},{"item":"Composition","pages":[{"title":"Composition","href":"/doc/rest-api/composition"}]},{"item":"Crawler","pages":[{"title":"Crawler","href":"/doc/rest-api/crawler"}]},{"item":"Ingestion","groups":[{"group":"Ingestion API","icon":"code","pages":[{"title":"Ingestion API","sidebarTitle":"Overview","href":"/doc/rest-api/ingestion"},{"group":"Authentications","pages":[{"title":"List authentication resources","openapi":"specs/ingestion.yml get /1/authentications","href":"/doc/rest-api/ingestion/list-authentications"},{"title":"Retrieve an authentication resource","openapi":"specs/ingestion.yml get /1/authentications/{authenticationID}","href":"/doc/rest-api/ingestion/get-authentication"},{"title":"Create an authentication resource","openapi":"specs/ingestion.yml post /1/authentications","href":"/doc/rest-api/ingestion/create-authentication"},{"title":"Search for authentication resources","openapi":"specs/ingestion.yml post /1/authentications/search","href":"/doc/rest-api/ingestion/search-authentications"},{"title":"Update an authentication resource","openapi":"specs/ingestion.yml patch /1/authentications/{authenticationID}","href":"/doc/rest-api/ingestion/update-authentication"},{"title":"Delete an authentication resource","openapi":"specs/ingestion.yml delete /1/authentications/{authenticationID}","href":"/doc/rest-api/ingestion/delete-authentication"}]},{"group":"Sources","pages":[{"title":"List sources","openapi":"specs/ingestion.yml get /1/sources","href":"/doc/rest-api/ingestion/list-sources"},{"title":"Retrieve a source","openapi":"specs/ingestion.yml get /1/sources/{sourceID}","href":"/doc/rest-api/ingestion/get-source"},{"title":"Create a source","description":"Creates a new source.","openapi":"specs/ingestion.yml post /1/sources","href":"/doc/rest-api/ingestion/create-source"},{"title":"Validate a source payload","openapi":"specs/ingestion.yml post /1/sources/validate","href":"/doc/rest-api/ingestion/validate-source"},{"title":"Validate an update of a source payload","description":"Validates an update of a source payload to ensure it can be created and that the data source can be reached by Algolia.","openapi":"specs/ingestion.yml post /1/sources/{sourceID}/validate","href":"/doc/rest-api/ingestion/validate-source-before-update"},{"title":"Search for sources","openapi":"specs/ingestion.yml post /1/sources/search","href":"/doc/rest-api/ingestion/search-sources"},{"title":"Trigger a stream-listing request","openapi":"specs/ingestion.yml post /1/sources/{sourceID}/discover","href":"/doc/rest-api/ingestion/trigger-docker-source-discover"},{"title":"Run all tasks linked to a source","openapi":"specs/ingestion.yml post /1/sources/{sourceID}/run","href":"/doc/rest-api/ingestion/run-source"},{"title":"Update a source","openapi":"specs/ingestion.yml patch /1/sources/{sourceID}","href":"/doc/rest-api/ingestion/update-source"},{"title":"Delete a source","openapi":"specs/ingestion.yml delete /1/sources/{sourceID}","href":"/doc/rest-api/ingestion/delete-source"}]},{"group":"Destinations","pages":[{"title":"List destinations","openapi":"specs/ingestion.yml get /1/destinations","href":"/doc/rest-api/ingestion/list-destinations"},{"title":"Retrieve a destination","openapi":"specs/ingestion.yml get /1/destinations/{destinationID}","href":"/doc/rest-api/ingestion/get-destination"},{"title":"Create a destination","openapi":"specs/ingestion.yml post /1/destinations","href":"/doc/rest-api/ingestion/create-destination"},{"title":"Search for destinations","openapi":"specs/ingestion.yml post /1/destinations/search","href":"/doc/rest-api/ingestion/search-destinations"},{"title":"Update a destination","openapi":"specs/ingestion.yml patch /1/destinations/{destinationID}","href":"/doc/rest-api/ingestion/update-destination"},{"title":"Delete a destination","openapi":"specs/ingestion.yml delete /1/destinations/{destinationID}","href":"/doc/rest-api/ingestion/delete-destination"}]},{"group":"Tasks","pages":[{"title":"List tasks","openapi":"specs/ingestion.yml get /2/tasks","href":"/doc/rest-api/ingestion/list-tasks"},{"title":"Retrieve a task","openapi":"specs/ingestion.yml get /2/tasks/{taskID}","href":"/doc/rest-api/ingestion/get-task"},{"title":"Create a task","openapi":"specs/ingestion.yml post /2/tasks","href":"/doc/rest-api/ingestion/create-task"},{"title":"Search for tasks","openapi":"specs/ingestion.yml post /2/tasks/search","href":"/doc/rest-api/ingestion/search-tasks"},{"title":"Run a task","openapi":"specs/ingestion.yml post /2/tasks/{taskID}/run","href":"/doc/rest-api/ingestion/run-task"},{"title":"Push records by indexName","openapi":"specs/ingestion.yml post /1/push/{indexName}","href":"/doc/rest-api/ingestion/push"},{"title":"Push records by task ID","openapi":"specs/ingestion.yml post /2/tasks/{taskID}/push","href":"/doc/rest-api/ingestion/push-task"},{"title":"Partially update a task","openapi":"specs/ingestion.yml patch /2/tasks/{taskID}","href":"/doc/rest-api/ingestion/update-task"},{"title":"Fully update a task","openapi":"specs/ingestion.yml put /2/tasks/{taskID}","href":"/doc/rest-api/ingestion/replace-task"},{"title":"Enable a task","openapi":"specs/ingestion.yml put /2/tasks/{taskID}/enable","href":"/doc/rest-api/ingestion/enable-task"},{"title":"Disable a task","openapi":"specs/ingestion.yml put /2/tasks/{taskID}/disable","href":"/doc/rest-api/ingestion/disable-task"},{"title":"Delete a task","openapi":"specs/ingestion.yml delete /2/tasks/{taskID}","href":"/doc/rest-api/ingestion/delete-task"}]},{"group":"Observability","pages":[{"title":"List task runs","openapi":"specs/ingestion.yml get /1/runs","href":"/doc/rest-api/ingestion/list-runs"},{"title":"Retrieve a task run","openapi":"specs/ingestion.yml get /1/runs/{runID}","href":"/doc/rest-api/ingestion/get-run"},{"title":"List task run events","openapi":"specs/ingestion.yml get /1/runs/{runID}/events","href":"/doc/rest-api/ingestion/list-events"},{"title":"Retrieve a task run event","openapi":"specs/ingestion.yml get /1/runs/{runID}/events/{eventID}","href":"/doc/rest-api/ingestion/get-event"}]},{"group":"Transformations","pages":[{"title":"List transformations","openapi":"specs/ingestion.yml get /1/transformations","href":"/doc/rest-api/ingestion/list-transformations"},{"title":"Retrieve a transformation","openapi":"specs/ingestion.yml get /1/transformations/{transformationID}","href":"/doc/rest-api/ingestion/get-transformation"},{"title":"Create a transformation","openapi":"specs/ingestion.yml post /1/transformations","href":"/doc/rest-api/ingestion/create-transformation"},{"title":"Try a transformation before creating it","openapi":"specs/ingestion.yml post /1/transformations/try","href":"/doc/rest-api/ingestion/try-transformation"},{"title":"Try a transformation before updating it","openapi":"specs/ingestion.yml post /1/transformations/{transformationID}/try","href":"/doc/rest-api/ingestion/try-transformation-before-update"},{"title":"Search for transformations","openapi":"specs/ingestion.yml post /1/transformations/search","href":"/doc/rest-api/ingestion/search-transformations"},{"title":"Update a transformation","openapi":"specs/ingestion.yml put /1/transformations/{transformationID}","href":"/doc/rest-api/ingestion/update-transformation"},{"title":"Delete a transformation","openapi":"specs/ingestion.yml delete /1/transformations/{transformationID}","href":"/doc/rest-api/ingestion/delete-transformation"}]},{"group":"Tasks v1 (deprecated)","pages":[{"title":"List tasks V1","openapi":"specs/ingestion.yml get /1/tasks","href":"/doc/rest-api/ingestion/list-tasks-v1"},{"title":"Retrieve a task V1","openapi":"specs/ingestion.yml get /1/tasks/{taskID}","href":"/doc/rest-api/ingestion/get-task-v1"},{"title":"Create a task V1","openapi":"specs/ingestion.yml post /1/tasks","href":"/doc/rest-api/ingestion/create-task-v1"},{"title":"Search for tasks V1","openapi":"specs/ingestion.yml post /1/tasks/search","href":"/doc/rest-api/ingestion/search-tasks-v1"},{"title":"Run a task V1","openapi":"specs/ingestion.yml post /1/tasks/{taskID}/run","href":"/doc/rest-api/ingestion/run-task-v1"},{"title":"Update a task V1","openapi":"specs/ingestion.yml patch /1/tasks/{taskID}","href":"/doc/rest-api/ingestion/update-task-v1"},{"title":"Enable a task V1","openapi":"specs/ingestion.yml put /1/tasks/{taskID}/enable","href":"/doc/rest-api/ingestion/enable-task-v1"},{"title":"Disable a task V1","openapi":"specs/ingestion.yml put /1/tasks/{taskID}/disable","href":"/doc/rest-api/ingestion/disable-task-v1"},{"title":"Delete a task","openapi":"specs/ingestion.yml delete /1/tasks/{taskID}","href":"/doc/rest-api/ingestion/delete-task-v1"}]}]}]},{"item":"Insights","pages":[{"title":"Insights","href":"/doc/rest-api/insights"}]},{"item":"Monitoring","pages":[{"title":"Monitoring","href":"/doc/rest-api/monitoring"}]},{"item":"Recommend","pages":[{"title":"Recommend","href":"/doc/rest-api/recommend"}]},{"item":"Query Suggestions","pages":[{"title":"Query Suggestions","href":"/doc/rest-api/query-suggestions"}]},{"item":"Usage","pages":[{"title":"Usage","href":"/doc/rest-api/usage"}]},{"item":"All APIs","pages":[{"title":"All APIs","href":"/doc/rest-api"}]}]}]},"basePath":"","title":"Validate a source payload - Algolia","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}