{ "app": "gmail", "tool": "GMAIL_FETCH_EMAILS", "kind": "read", "data": { "messages": [ { "messageId": "19a2f0c4e1b7d3a5", "sender": "Ada <ada@example.com>", "subject": "Q4 plan", "messageTimestamp": "2026-10-08T09:12:00Z", "preview": { "body": "Here is the plan for Q4…" } } ], "nextPageToken": null }}
{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A connected app, or the service that connects it, answered with an error or could not be reached.",
"code": "upstream_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "This part of the API is not available on the server right now. Retry later.",
"code": "service_unavailable",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
Send the tool’s inputs in inputs, by the names List an app’s tools gives. data is the app’s answer, as the app gave it.With several accounts on the app, connection_id says which one runs it: an id from List an app’s connections. With one account you can leave it out. It is never guessed.A read tool needs apps:read. A write tool needs apps:write and acts in your real account: the email is sent, the event is created. Send an Idempotency-Key so a retry after a timeout does not send it twice. The key is kept per connection, so the same key on two connections is two requests. See Idempotency.
Status
Why
404
The app has no such tool. detail points to its tool list.
404connection_not_found
connection_id is not one of your connections on this app.
409app_not_connected
You have not connected the app. detail.connect_url connects it.
409connection_required
Several of your accounts on the app work and connection_id is missing. detail.connections lists them. Nothing ran.
409connection_expired
That account’s sign-in lapsed. detail.reconnect_url signs it in again under the same id.
422
The body is not valid.
502
The app refused the call, for example a missing or wrong input. detail gives the app’s reason.
MCP tools: read_from_app runs a read tool, act_in_app a write tool.
Authorizations
ApiKeyAuthApiKeyHeader
Authorization
string
header
required
API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.
Headers
Idempotency-Key
string
Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.
Required string length: 1 - 255
Path Parameters
app
string
required
tool
string
required
Body
application/json
inputs
Inputs · object
The tool's inputs, by name.
connection_id
string | null
Which of your accounts on the app runs it (an id from GET /v1/apps/{app}/connections). Optional with one account; required when several work (else 409 connection_required).
{ "app": "gmail", "tool": "GMAIL_FETCH_EMAILS", "kind": "read", "data": { "messages": [ { "messageId": "19a2f0c4e1b7d3a5", "sender": "Ada <ada@example.com>", "subject": "Q4 plan", "messageTimestamp": "2026-10-08T09:12:00Z", "preview": { "body": "Here is the plan for Q4…" } } ], "nextPageToken": null }}
{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A connected app, or the service that connects it, answered with an error or could not be reached.",
"code": "upstream_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "This part of the API is not available on the server right now. Retry later.",
"code": "service_unavailable",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Valendata","colors":{"primary":"#059669","light":"#10B981","dark":"#047857"},"logo":{"light":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f","dark":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/dark.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=1ea5c3396fd1e49155699be16454b976","href":"https://valendata.com/"},"favicon":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/favicon.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=b944978557448233e2ed6a35d1330a18","api":{"playground":{"display":"interactive"}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"mailto:info@valendata.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://valendata.com"}},"footer":{"socials":{"website":"https://valendata.com"}},"fonts":{"family":"Geist"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"valendata","hasAudioNarration":false,"actualSubdomain":"valendata","customDomains":["docs.valendata.com"],"gitSource":{"type":"github","owner":"prinzeval","repo":"valendata-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b05c3211d9614526a2278d4","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API reference","count":135},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Skills","count":16},{"language":"default","tag":"Concepts","count":13},{"language":"default","tag":"Runs","count":12},{"language":"default","tag":"Workflow triggers","count":10},{"language":"default","tag":"How-to guides","count":10},{"language":"default","tag":"Logins","count":9},{"language":"default","tag":"Skill versions","count":9},{"language":"default","tag":"Workflows","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwRGFWfOw.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwYGFWfOw.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwTGFWfOw.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--font-sans: \"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;--font-mono: \"Geist Mono\", \"SF Mono\", Consolas, monospace}body,html,h1,h2,h3,h4,h5,h6,p,span,a,button,input,select,textarea{font-family:var(--font-sans)!important}code,pre,kbd,samp{font-family:var(--font-mono)!important}h1,h2,h3,h4,h5,h6{letter-spacing:-0.025em!important}html:not(.dark) h1,html:not(.dark) h2,html:not(.dark) h3,html:not(.dark) h4,html:not(.dark) h5,html:not(.dark) h6{color:#0e0f10!important}html:not(.dark) strong,html:not(.dark) b{color:#0e0f10!important;font-weight:700!important}html:not(.dark) p,html:not(.dark) li{color:#334155!important}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#f8fafc!important}html.dark strong,html.dark b{color:#ffffff!important;font-weight:700!important}html.dark p,html.dark li{color:#cbd5e1!important}div[class*=\"pointer-events-none\"][class*=\"bg-gradient-to-b\"]{display:none!important}img.nav-logo{height:2rem!important;max-width:none!important}button[aria-label*=\"Ask AI\"i],button[aria-label*=\"AI\"i],button[aria-label*=\"Assistant\"i],button:has(svg[data-icon=\"sparkles\"]),button:has(svg[data-icon=\"wand-magic-sparkles\"]),div[class*=\"ai-widget\"],div[class*=\"ask-ai\"],div[class*=\"ai-chat\"]{display:none!important}"}]}
{"page":{"pagePath":"api-reference/apps/run-tool","slug":"/api-reference/apps/run-tool","pageMetadata":{"title":"Run an app tool","description":"Run one tool on your connected account and get what the app answered.","openapi":"POST /v1/apps/{app}/tools/{tool}/run","href":"/api-reference/apps/run-tool"},"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: \"Run one tool on your connected account and get what the app answered.\"\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{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Table}=_components;if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send the tool’s inputs in `,_jsx(_components.code,{children:`inputs`}),`, by the names `,_jsx(_components.a,{href:`/api-reference/apps/list-tools`,children:`List an app’s tools`}),` gives. `,_jsx(_components.code,{children:`data`}),` is the app’s answer, as the app gave it.`]}),`\n`,_jsxs(_components.p,{children:[`With several accounts on the app, `,_jsx(_components.code,{children:`connection_id`}),` says which one runs it: an `,_jsx(_components.code,{children:`id`}),` from `,_jsx(_components.a,{href:`/api-reference/apps/list-connections`,children:`List an app’s connections`}),`. With one account you can leave it out. It is never guessed.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`read`}),` tool needs `,_jsx(_components.code,{children:`apps:read`}),`. A `,_jsx(_components.code,{children:`write`}),` tool needs `,_jsx(_components.code,{children:`apps:write`}),` and acts in your real account: the email is sent, the event is created. Send an `,_jsx(_components.code,{children:`Idempotency-Key`}),` so a retry after a timeout does not send it twice. The key is kept per connection, so the same key on two connections is two requests. See `,_jsx(_components.a,{href:`/api-reference/pagination-and-idempotency#idempotency`,children:`Idempotency`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Why`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[`The app has no such tool. `,_jsx(_components.code,{children:`detail`}),` points to its tool list.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`404`}),` `,_jsx(_components.code,{children:`connection_not_found`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`connection_id`}),` is not one of your connections on this app.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409`}),` `,_jsx(_components.code,{children:`app_not_connected`})]}),_jsxs(_components.td,{children:[`You have not connected the app. `,_jsx(_components.code,{children:`detail.connect_url`}),` connects it.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409`}),` `,_jsx(_components.code,{children:`connection_required`})]}),_jsxs(_components.td,{children:[`Several of your accounts on the app work and `,_jsx(_components.code,{children:`connection_id`}),` is missing. `,_jsx(_components.code,{children:`detail.connections`}),` lists them. Nothing ran.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409`}),` `,_jsx(_components.code,{children:`connection_expired`})]}),_jsxs(_components.td,{children:[`That account’s sign-in lapsed. `,_jsx(_components.code,{children:`detail.reconnect_url`}),` signs it in again under the same id.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body is not valid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsxs(_components.td,{children:[`The app refused the call, for example a missing or wrong input. `,_jsx(_components.code,{children:`detail`}),` gives the app’s reason.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`MCP tools: `,_jsx(_components.code,{children:`read_from_app`}),` runs a `,_jsx(_components.code,{children:`read`}),` tool, `,_jsx(_components.code,{children:`act_in_app`}),` a `,_jsx(_components.code,{children:`write`}),` tool.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Run an app tool","description":"Run one tool on your connected account and get what the app answered.","openapi":"POST /v1/apps/{app}/tools/{tool}/run","href":"/api-reference/apps/run-tool"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Connected apps"],"summary":"Run an app tool","description":"Run one tool on your connected account and get what the app answered.","operationId":"run_app_tool","security":["b57c0862-7cd8-4b84-9b1a-aad19db6b04f","9b6bab43-5078-42c4-ae75-73e7cc14e2c3"],"parameters":["d4443383-1b30-4208-be3e-efcc85ae5e65","168330da-8df7-4c74-a8a9-ba40199147ec","d97eac61-4615-45f6-852b-b4f99deba4ac"],"requestBody":"96ac2d66-93c5-48c2-bf81-5567f35f708c","responses":{"200":"4f3b26b7-2a82-4a92-aac9-81c676b0392f","400":"902c0157-2811-4ed4-8eed-f01244a1fb35","401":"b1ea16d9-ebfe-486b-89df-d723f98ac171","403":"568a61b4-a579-4944-b177-0075bcc3f57e","404":"70c54f25-a0fe-4e4c-aa2a-3e91b958185a","409":"99e743a1-ec13-4558-b9db-214aee490e60","422":"c9e7db67-0fce-43de-84c6-3b4e20854f4a","429":"76dce139-4996-41de-8a72-2b6ee8ce6783","500":"5ca28564-5e84-4151-8cdc-cf120843a114","502":"39dfa5c7-50b4-4ac1-9c7f-7c500e7832f9","503":"ac7d421d-ff2d-41c6-99b2-bdce876c214f"},"x-mcp-tool":"read_from_app, act_in_app","method":"post","type":"path","servers":["c84457e9-c3bb-411e-99c4-4891ba75f452"],"path":"/v1/apps/{app}/tools/{tool}/run","baseUrlOptions":["https://api.valendata.com"],"title":"Run an app tool","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d4443383-1b30-4208-be3e-efcc85ae5e65":{"name":"app","in":"path","required":true,"schema":{"type":"string","title":"App","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"gmail"},"168330da-8df7-4c74-a8a9-ba40199147ec":{"name":"tool","in":"path","required":true,"schema":{"type":"string","title":"Tool","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"GMAIL_FETCH_EMAILS"},"d97eac61-4615-45f6-852b-b4f99deba4ac":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","uniqueKey":"","typeLabel":"string"},"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","example":"order-1234"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"inputs":{"additionalProperties":true,"type":"object","title":"Inputs","description":"The tool's inputs, by name.","uniqueKey":"inputs","typeLabel":"Inputs · object"},"connection_id":{"oneOf":[{"type":"string","title":"Connection Id","description":"Which of your accounts on the app runs it (an `id` from `GET /v1/apps/{app}/connections`). Optional with one account; required when several work (else 409 `connection_required`).","maxLength":200,"uniqueKey":"connection_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Connection Id","description":"Which of your accounts on the app runs it (an `id` from `GET /v1/apps/{app}/connections`). Optional with one account; required when several work (else 409 `connection_required`).","uniqueKey":"connection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"connection_id","typeLabel":"string | null"}},"type":"object","title":"RunAppToolRequest","uniqueKey":"","typeLabel":"RunAppToolRequest · object"},"examples":{"one_account":{"title":"one_account","summary":"Your only Gmail account","value":{"inputs":{"query":"is:unread","max_results":2}}},"one_of_several":{"title":"one_of_several","summary":"One of several Instagram pages","value":{"inputs":{"ig_user_id":"me","image_url":"https://example.com/cabin.jpg","caption":"New cabin"},"connection_id":"conn_ca_8xK2pQ"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"4f3b26b7-2a82-4a92-aac9-81c676b0392f":{"description":"What the app answered.","content":{"application/json":{"schema":{"properties":{"app":{"type":"string","title":"App","isRequired":true,"uniqueKey":"app","typeLabel":"string"},"tool":{"type":"string","title":"Tool","isRequired":true,"uniqueKey":"tool","typeLabel":"string"},"kind":{"type":"string","enum":["read","write"],"title":"Kind","isRequired":true,"uniqueKey":"kind","typeLabel":"enum\u003cstring>"},"data":{"oneOf":[{"title":"Data","description":"What the app answered, as it answered it.","uniqueKey":"data.oneOf.0","typeLabel":"any"},{"type":"null","title":"Data","description":"What the app answered, as it answered it.","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"any | null"}},"type":"object","required":["app","tool","kind"],"title":"AppToolResult","uniqueKey":"","typeLabel":"AppToolResult · object"},"example":{"app":"gmail","tool":"GMAIL_FETCH_EMAILS","kind":"read","data":{"messages":[{"messageId":"19a2f0c4e1b7d3a5","sender":"Ada \u003cada@example.com>","subject":"Q4 plan","messageTimestamp":"2026-10-08T09:12:00Z","preview":{"body":"Here is the plan for Q4…"}}],"nextPageToken":null}},"examples":{"Example":{"title":"Example","value":{"app":"gmail","tool":"GMAIL_FETCH_EMAILS","kind":"read","data":{"messages":[{"messageId":"19a2f0c4e1b7d3a5","sender":"Ada \u003cada@example.com>","subject":"Q4 plan","messageTimestamp":"2026-10-08T09:12:00Z","preview":{"body":"Here is the plan for Q4…"}}],"nextPageToken":null}}}},"exampleType":"examples"}},"headers":{"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when this is the stored answer to an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}},"exampleType":"examples"},"902c0157-2811-4ed4-8eed-f01244a1fb35":{"description":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"b1ea16d9-ebfe-486b-89df-d723f98ac171":{"description":"The API key is missing, malformed, revoked, or expired.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"568a61b4-a579-4944-b177-0075bcc3f57e":{"description":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"70c54f25-a0fe-4e4c-aa2a-3e91b958185a":{"description":"It does not exist, or it is not yours to see.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"99e743a1-ec13-4558-b9db-214aee490e60":{"description":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"c9e7db67-0fce-43de-84c6-3b4e20854f4a":{"description":"A field is invalid (`param` names it), or the Idempotency-Key was used with a different request.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"76dce139-4996-41de-8a72-2b6ee8ce6783":{"description":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"5ca28564-5e84-4151-8cdc-cf120843a114":{"description":"Something broke on our side. Retry; credits a run already used are not given back.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"39dfa5c7-50b4-4ac1-9c7f-7c500e7832f9":{"description":"A connected app, or the service that connects it, answered with an error or could not be reached.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"A connected app, or the service that connects it, answered with an error or could not be reached.","code":"upstream_error","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"A connected app, or the service that connects it, answered with an error or could not be reached.","code":"upstream_error","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"ac7d421d-ff2d-41c6-99b2-bdce876c214f":{"description":"This part of the API is not available on the server right now. Retry later.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"This part of the API is not available on the server right now. Retry later.","code":"service_unavailable","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"This part of the API is not available on the server right now. Retry later.","code":"service_unavailable","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b57c0862-7cd8-4b84-9b1a-aad19db6b04f":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"}},"9b6bab43-5078-42c4-ae75-73e7cc14e2c3":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"}}},"servers":{"c84457e9-c3bb-411e-99c4-4891ba75f452":{"url":"https://api.valendata.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"x-api-key","type":"string","description":"The same API key in the `x-api-key` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"x-api-key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"openapispec.json"},"subdomain":"valendata","siteName":"Valendata","title":"Run an app tool - Valendata","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T11:24:20.219Z","originalFileLocation":"api-reference/apps/run-tool.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=\"light\"}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=\"Run one tool on your connected account and get what the app answered.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Valendata\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run an app tool - Valendata\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run one tool on your connected account and get what the app answered.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Valendata\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.valendata.com/api-reference/apps/run-tool\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Connected+apps\u0026amp;title=Run+an+app+tool\u0026amp;description=Run+one+tool+on+your+connected+account+and+get+what+the+app+answered.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=357cfee9e630f2f9a6cb2179a78e7c4a5dd7fb8e6673e7d032b1fc0944b9739d\">\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=\"Run an app tool - Valendata\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run one tool on your connected account and get what the app answered.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Connected+apps\u0026amp;title=Run+an+app+tool\u0026amp;description=Run+one+tool+on+your+connected+account+and+get+what+the+app+answered.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=357cfee9e630f2f9a6cb2179a78e7c4a5dd7fb8e6673e7d032b1fc0944b9739d\">\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/valendata/XZEEt82cwKhlpZb_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Valendata\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#059669\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.valendata.com/api-reference/apps/run-tool\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/apps/run-tool.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.valendata.com/#organization\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.valendata.com#website\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.valendata.com/api-reference/apps/run-tool#webpage\",\"url\":\"https://docs.valendata.com/api-reference/apps/run-tool\",\"name\":\"Run an app tool\",\"description\":\"Run one tool on your connected account and get what the app answered.\",\"dateModified\":\"2026-11-19T11:24:20.219Z\",\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.valendata.com/api-reference/apps/run-tool#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.valendata.com/api-reference/apps/run-tool#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connected apps\",\"item\":\"https://docs.valendata.com/api-reference/apps/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run an app tool\",\"item\":\"https://docs.valendata.com/api-reference/apps/run-tool\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.valendata.com/api-reference/apps/run-tool#apireference\",\"headline\":\"Run an app tool\",\"name\":\"Run an app tool\",\"description\":\"Run one tool on your connected account and get what the app answered.\",\"url\":\"https://docs.valendata.com/api-reference/apps/run-tool\",\"mainEntityOfPage\":{\"@id\":\"https://docs.valendata.com/api-reference/apps/run-tool#webpage\"},\"dateModified\":\"2026-11-19T11:24:20.219Z\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Valendata\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Valendata\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/apps/run-tool.md","siteName":"Valendata","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"API overview","sidebarTitle":"Overview","href":"/api-reference/introduction"},{"title":"Authentication and scopes","href":"/api-reference/authentication"},{"title":"Errors and limits","href":"/api-reference/errors"},{"title":"Pagination and idempotency","href":"/api-reference/pagination-and-idempotency"}]},{"group":"Universal web API","icon":"earth-americas","pages":[{"title":"Universal web API","href":"/api-reference/web-api"}]},{"group":"Skills","icon":"bolt","pages":[{"title":"List skills","openapi":"GET /v1/skills","href":"/api-reference/skills/list"},{"title":"List skill categories","openapi":"GET /v1/skills/categories","href":"/api-reference/skills/list-categories"},{"title":"Create a skill","openapi":"POST /v1/skills","href":"/api-reference/skills/create"},{"title":"Get a skill creation","openapi":"GET /v1/skill-creations/{creation_id}","href":"/api-reference/skills/get-creation"},{"title":"List skill creations","openapi":"GET /v1/skill-creations","href":"/api-reference/skills/list-creations"},{"title":"Cancel a skill creation","api":"POST https://api.valendata.com/v1/skill-creations/{creation_id}/cancel","href":"/api-reference/skills/cancel-creation"},{"title":"Get a skill","openapi":"GET /v1/skills/{slug}","href":"/api-reference/skills/get"},{"title":"Clone a skill","openapi":"POST /v1/skills/{slug}/clone","href":"/api-reference/skills/clone"},{"title":"Update a skill","openapi":"PATCH /v1/skills/{slug}","href":"/api-reference/skills/update"},{"title":"Delete a skill","openapi":"DELETE /v1/skills/{slug}","href":"/api-reference/skills/delete"},{"title":"Delete unused archived skills","openapi":"POST /v1/skills/archived/delete-unused","href":"/api-reference/skills/delete-unused-archived"},{"title":"Get a skill's health","openapi":"GET /v1/skills/{slug}/health","href":"/api-reference/skills/health"},{"title":"Get a skill's speed","openapi":"GET /v1/skills/{slug}/speed","href":"/api-reference/skills/speed"},{"title":"Try a faster tier","openapi":"POST /v1/skills/{slug}/speed/try","href":"/api-reference/skills/try-speed"},{"title":"Get a speed trial","openapi":"GET /v1/skills/{slug}/speed/trials/{trial_id}","href":"/api-reference/skills/get-speed-trial"},{"title":"Use a tier","openapi":"POST /v1/skills/{slug}/speed/use","href":"/api-reference/skills/use-speed"}]},{"group":"Marketplace","icon":"store","pages":[{"title":"Find a skill for a task","openapi":"GET /v1/marketplace/search","href":"/api-reference/marketplace/search"},{"title":"List marketplace categories","openapi":"GET /v1/marketplace/categories","href":"/api-reference/marketplace/list-categories"}]},{"group":"Sites","icon":"globe","pages":[{"title":"List proven sites","api":"GET https://api.valendata.com/v1/sites/proven","href":"/api-reference/sites/list-proven"},{"title":"Get a site","api":"GET https://api.valendata.com/v1/sites/{domain}","href":"/api-reference/sites/get"},{"title":"Create a site request","api":"POST https://api.valendata.com/v1/site-requests","href":"/api-reference/sites/create-request"},{"title":"List your site requests","api":"GET https://api.valendata.com/v1/site-requests/mine","href":"/api-reference/sites/list-requests"},{"title":"Remove your vote","api":"DELETE https://api.valendata.com/v1/site-requests/{request_id}/vote","href":"/api-reference/sites/delete-vote"}]},{"group":"Site APIs","icon":"sitemap","pages":[{"title":"List your site APIs","api":"GET https://api.valendata.com/v1/apis","href":"/api-reference/site-apis/list"},{"title":"Get a site API","api":"GET https://api.valendata.com/v1/apis/{domain}","href":"/api-reference/site-apis/get"},{"title":"Run an endpoint","api":"POST https://api.valendata.com/v1/apis/{domain}/{endpoint_name}/run","href":"/api-reference/site-apis/run"},{"title":"Rename an endpoint","api":"PATCH https://api.valendata.com/v1/apis/{domain}/endpoints/{skill_id}","href":"/api-reference/site-apis/rename-endpoint"},{"title":"Set a site's defaults","api":"PUT https://api.valendata.com/v1/apis/{domain}/defaults","href":"/api-reference/site-apis/update-defaults"}]},{"group":"Runs","icon":"play","pages":[{"title":"List runs","openapi":"GET /v1/runs","href":"/api-reference/runs/list"},{"title":"Run a skill and wait","openapi":"POST /v1/skills/{slug}/run","href":"/api-reference/runs/run-skill"},{"title":"Start a skill run","openapi":"POST /v1/skills/{slug}/runs","href":"/api-reference/runs/start-skill-run"},{"title":"List skill runs","openapi":"GET /v1/skills/{slug}/runs","href":"/api-reference/runs/list-skill-runs"},{"title":"Run a workflow and wait","openapi":"POST /v1/workflows/{slug}/run","href":"/api-reference/runs/run-workflow"},{"title":"Start a workflow run","openapi":"POST /v1/workflows/{slug}/runs","href":"/api-reference/runs/start-workflow-run"},{"title":"List workflow runs","openapi":"GET /v1/workflows/{slug}/runs","href":"/api-reference/runs/list-workflow-runs"},{"title":"Get a run","openapi":"GET /v1/runs/{run_id}","href":"/api-reference/runs/get"},{"title":"Get a run's changes","openapi":"GET /v1/runs/{run_id}/changes","href":"/api-reference/runs/get-changes"},{"title":"Cancel a run","openapi":"POST /v1/runs/{run_id}/cancel","href":"/api-reference/runs/cancel"},{"title":"Resume a run","openapi":"POST /v1/runs/{run_id}/resume","href":"/api-reference/runs/resume"},{"title":"Send a sign-in code","openapi":"POST /v1/runs/{run_id}/otp","href":"/api-reference/runs/send-code"}]},{"group":"Batches","icon":"list-check","pages":[{"title":"Estimate a batch","openapi":"POST /v1/skills/{slug}/batches/estimate","href":"/api-reference/batches/estimate"},{"title":"Start a batch","openapi":"POST /v1/skills/{slug}/batches","href":"/api-reference/batches/start"},{"title":"List batches","openapi":"GET /v1/batches","href":"/api-reference/batches/list"},{"title":"Get a batch","openapi":"GET /v1/batches/{batch_id}","href":"/api-reference/batches/get"},{"title":"List a batch's inputs","openapi":"GET /v1/batches/{batch_id}/items","href":"/api-reference/batches/list-items"},{"title":"Get a batch's rows","openapi":"GET /v1/batches/{batch_id}/rows","href":"/api-reference/batches/get-rows"},{"title":"Download a batch's rows as CSV","openapi":"GET /v1/batches/{batch_id}/rows.csv","href":"/api-reference/batches/get-rows-csv"},{"title":"Cancel a batch","openapi":"POST /v1/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel"}]},{"group":"Skill versions","icon":"code-branch","pages":[{"title":"List versions","openapi":"GET /v1/skills/{slug}/versions","href":"/api-reference/versions/list"},{"title":"Compare two versions","openapi":"GET /v1/skills/{slug}/versions/{a}/diff/{b}","href":"/api-reference/versions/diff"},{"title":"Restore a version","openapi":"POST /v1/skills/{slug}/versions/{n}/restore","href":"/api-reference/versions/restore"},{"title":"Pin a version","openapi":"PUT /v1/skills/{slug}/pin","href":"/api-reference/versions/pin"},{"title":"Check for a marketplace update","openapi":"GET /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-check"},{"title":"Take a marketplace update","openapi":"POST /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-take"},{"title":"Keep your version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/keep-mine","href":"/api-reference/versions/marketplace-update-keep-mine"},{"title":"Take the original's version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/use-theirs","href":"/api-reference/versions/marketplace-update-use-theirs"},{"title":"Set automatic marketplace updates","openapi":"PUT /v1/skills/{slug}/marketplace-update/settings","href":"/api-reference/versions/marketplace-update-settings"}]},{"group":"Improvements","icon":"wrench","pages":[{"title":"Improve a skill","openapi":"POST /v1/skills/{slug}/improve","href":"/api-reference/improvements/improve"},{"title":"Get an improvement","openapi":"GET /v1/skill-improvements/{improvement_id}","href":"/api-reference/improvements/get"},{"title":"List a skill's improvements","openapi":"GET /v1/skills/{slug}/improvements","href":"/api-reference/improvements/list"},{"title":"Talk to a skill","openapi":"POST /v1/skills/{slug}/doctor","href":"/api-reference/improvements/talk"},{"title":"Read a skill's chat","openapi":"GET /v1/skills/{slug}/doctor","href":"/api-reference/improvements/chat"},{"title":"Stop a skill's doctor","openapi":"POST /v1/skills/{slug}/doctor/stop","href":"/api-reference/improvements/stop"}]},{"group":"Schedules","icon":"clock","pages":[{"title":"List schedules","openapi":"GET /v1/schedules","href":"/api-reference/schedules/list"},{"title":"Get a schedule","openapi":"GET /v1/schedules/{schedule_id}","href":"/api-reference/schedules/get"},{"title":"List a skill's schedules","openapi":"GET /v1/skills/{slug}/schedules","href":"/api-reference/schedules/list-skill-schedules"},{"title":"Schedule a skill","openapi":"POST /v1/skills/{slug}/schedules","href":"/api-reference/schedules/create-skill-schedule"},{"title":"List a workflow's schedules","openapi":"GET /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/list-workflow-schedules"},{"title":"Schedule a workflow","openapi":"POST /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/create-workflow-schedule"},{"title":"Update a schedule","openapi":"PATCH /v1/schedules/{schedule_id}","href":"/api-reference/schedules/update"},{"title":"Delete a schedule","openapi":"DELETE /v1/schedules/{schedule_id}","href":"/api-reference/schedules/delete"}]},{"group":"Workflows","icon":"diagram-project","pages":[{"title":"List workflows","openapi":"GET /v1/workflows","href":"/api-reference/workflows/list"},{"title":"Create a workflow","openapi":"POST /v1/workflows","href":"/api-reference/workflows/create"},{"title":"Get a workflow","openapi":"GET /v1/workflows/{slug}","href":"/api-reference/workflows/get"},{"title":"Clone a workflow","openapi":"POST /v1/workflows/{slug}/clone","href":"/api-reference/workflows/clone"},{"title":"Update a workflow","openapi":"PATCH /v1/workflows/{slug}","href":"/api-reference/workflows/update"},{"title":"Delete a workflow","openapi":"DELETE /v1/workflows/{slug}","href":"/api-reference/workflows/delete"},{"title":"Read a workflow's chat","openapi":"GET /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/chat"},{"title":"Talk to a workflow","openapi":"POST /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/talk"},{"title":"Stop a workflow's doctor","openapi":"POST /v1/workflows/{slug}/doctor/stop","href":"/api-reference/workflows/stop-doctor"}]},{"group":"Workflow versions","pages":[{"title":"List workflow versions","openapi":"GET /v1/workflows/{slug}/versions","href":"/api-reference/workflow-versions/list"},{"title":"Compare two workflow versions","openapi":"GET /v1/workflows/{slug}/versions/{a}/diff/{b}","href":"/api-reference/workflow-versions/diff"},{"title":"Restore a workflow version","openapi":"POST /v1/workflows/{slug}/versions/{n}/restore","href":"/api-reference/workflow-versions/restore"}]},{"group":"Workflow triggers","icon":"bolt-lightning","pages":[{"title":"Create a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-create"},{"title":"Get a workflow webhook","openapi":"GET /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-get"},{"title":"Update a workflow webhook","openapi":"PATCH /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-update"},{"title":"Rotate a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook/rotate","href":"/api-reference/workflow-triggers/webhook-rotate"},{"title":"List a workflow webhook's deliveries","openapi":"GET /v1/workflows/{slug}/webhook/deliveries","href":"/api-reference/workflow-triggers/webhook-deliveries"},{"title":"Delete a workflow webhook","openapi":"DELETE /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-delete"},{"title":"Start a workflow on an app event","openapi":"PUT /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-set"},{"title":"Get a workflow's app event","openapi":"GET /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-get"},{"title":"Pause or resume a workflow's app event","openapi":"PATCH /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-update"},{"title":"Remove a workflow's app event","openapi":"DELETE /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-delete"}]},{"group":"Logins","icon":"key","pages":[{"title":"List logins","openapi":"GET /v1/logins","href":"/api-reference/logins/list"},{"title":"Create a login","openapi":"POST /v1/logins","href":"/api-reference/logins/create"},{"title":"Get a login","openapi":"GET /v1/logins/{login_id}","href":"/api-reference/logins/get"},{"title":"Update a login","openapi":"PATCH /v1/logins/{login_id}","href":"/api-reference/logins/update"},{"title":"Delete a login","openapi":"DELETE /v1/logins/{login_id}","href":"/api-reference/logins/delete"},{"title":"List browser profiles","openapi":"GET /v1/profiles","href":"/api-reference/logins/list-profiles"},{"title":"Get a question card","openapi":"GET /v1/questions/{card_id}","href":"/api-reference/logins/get-question"},{"title":"Answer a question card","openapi":"POST /v1/questions/{card_id}/answer","href":"/api-reference/logins/answer-question"},{"title":"Send a code for a login","openapi":"POST /v1/logins/{login_id}/code","href":"/api-reference/logins/send-code"}]},{"group":"Connected apps","icon":"plug","pages":[{"title":"List apps","openapi":"GET /v1/apps","href":"/api-reference/apps/list"},{"title":"List connected apps","openapi":"GET /v1/apps/connected","href":"/api-reference/apps/list-connected"},{"title":"Get an app","openapi":"GET /v1/apps/{app}","href":"/api-reference/apps/get"},{"title":"Disconnect an app","openapi":"DELETE /v1/apps/{app}/connection","href":"/api-reference/apps/disconnect"},{"title":"List an app's connections","openapi":"GET /v1/apps/{app}/connections","href":"/api-reference/apps/list-connections"},{"title":"Disconnect one connection","openapi":"DELETE /v1/apps/{app}/connections/{connection_id}","href":"/api-reference/apps/disconnect-connection"},{"title":"List an app's tools","description":"Everything an app can do, with each tool's inputs and kind.","openapi":"GET /v1/apps/{app}/tools","href":"/api-reference/apps/list-tools"},{"title":"Run an app tool","openapi":"POST /v1/apps/{app}/tools/{tool}/run","href":"/api-reference/apps/run-tool"}]},{"group":"Follow-ups","icon":"hourglass-half","pages":[{"title":"Create a follow-up","description":"Wait for something to arrive somewhere, or check back later.","openapi":"POST /v1/followups","href":"/api-reference/followups/create"},{"title":"List follow-ups","openapi":"GET /v1/followups","href":"/api-reference/followups/list"},{"title":"Get a follow-up","openapi":"GET /v1/followups/{followup_id}","href":"/api-reference/followups/get"},{"title":"Cancel a follow-up","openapi":"POST /v1/followups/{followup_id}/cancel","href":"/api-reference/followups/cancel"}]},{"group":"Background jobs","icon":"layer-group","pages":[{"title":"Start background jobs","openapi":"POST /v1/jobs","href":"/api-reference/jobs/start"},{"title":"List background jobs","openapi":"GET /v1/jobs","href":"/api-reference/jobs/list"},{"title":"Get a background job","openapi":"GET /v1/jobs/{job_id}","href":"/api-reference/jobs/get"},{"title":"Cancel a background job","openapi":"POST /v1/jobs/{job_id}/cancel","href":"/api-reference/jobs/cancel"}]},{"group":"Notes","icon":"note-sticky","pages":[{"title":"List notes","openapi":"GET /v1/notes","href":"/api-reference/notes/list"},{"title":"Create a note","openapi":"POST /v1/notes","href":"/api-reference/notes/create"},{"title":"Get a note","openapi":"GET /v1/notes/{note_id}","href":"/api-reference/notes/get"},{"title":"Update a note","openapi":"PATCH /v1/notes/{note_id}","href":"/api-reference/notes/update"},{"title":"Delete a note","openapi":"DELETE /v1/notes/{note_id}","href":"/api-reference/notes/delete"}]},{"group":"Account and usage","icon":"user","pages":[{"title":"Get your account","openapi":"GET /v1/account","href":"/api-reference/account/get"},{"title":"Get usage","openapi":"GET /v1/usage","href":"/api-reference/account/usage"},{"title":"Get the sign-up email default","openapi":"GET /v1/account/signup-email","href":"/api-reference/account/get-signup-email"},{"title":"Set the sign-up email default","openapi":"PUT /v1/account/signup-email","href":"/api-reference/account/set-signup-email"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"About webhooks","href":"/api-reference/webhooks/overview"},{"title":"Get the signing secret","openapi":"GET /v1/webhooks/secret","href":"/api-reference/webhooks/secret"},{"title":"Rotate the signing secret","openapi":"POST /v1/webhooks/secret/rotate","href":"/api-reference/webhooks/rotate-secret"}]}]}]},"basePath":"","title":"Run an app tool - Valendata","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","SectionHeading-uish4Ed2.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}