{"openapi": "3.1.0", "info": {"title": "Zapier AI Actions (Dynamic)", "version": "sub_api_v1", "description": ""}, "servers": [{"url": "https://actions.zapier.com"}], "paths": {"/api/v1/search/zaps/": {"get": {"operationId": "list_guided_recipes", "summary": "List Guided Recipes", "parameters": [{"in": "query", "name": "query", "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query"}, "required": false}, {"in": "query", "name": "count", "schema": {"default": 5, "title": "Count", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK"}}, "description": "Suggest zaps the user should create. Query is optional if the user just\nwants to know what is possible.\n\nThis is useful when the user asks for examples of zaps.", "requestBody": {"content": {"application/json": {"schema": {"items": {"type": "string"}, "title": "Tags", "type": "array"}}}, "required": true}, "security": [{"AccessPointApiKeyHeader": []}, {"AccessPointApiKeyQuery": []}, {"AccessPointOAuth": []}, {"SessionAuth": []}]}}, "/api/v1/search/actions/": {"get": {"operationId": "search_all_actions", "summary": "List Directory Actions", "parameters": [{"in": "query", "name": "query", "schema": {"title": "Query", "type": "string"}, "required": false}, {"in": "query", "name": "include_exposed", "schema": {"default": false, "title": "Include Exposed", "type": "boolean"}, "required": false}, {"in": "query", "name": "count", "schema": {"default": 10, "title": "Count", "type": "integer"}, "required": false}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GenericResults_ActionSchema_"}}}}}, "description": "Search through all actions Zapier supports, even if they are not exposed.\n\nBecause new actions may have been added by the user, you should call this\nendpoint with `include_exposed=true` to get the latest list of exposed actions.", "security": [{"AccessPointApiKeyHeader": []}, {"AccessPointApiKeyQuery": []}, {"AccessPointOAuth": []}, {"SessionAuth": []}]}}, "/api/v1/configuration-link/": {"get": {"operationId": "get_configuration_link", "summary": "Get Configuration Link", "parameters": [], "responses": {"200": {"description": "OK"}}, "description": "Provides a link to configure more actions. Alternatively, searching through apps and actions will provide more specific configuration links.", "security": [{"AccessPointApiKeyHeader": []}, {"AccessPointApiKeyQuery": []}, {"AccessPointOAuth": []}, {"SessionAuth": []}]}}, "/api/v1/exposed/": {"get": {"operationId": "list_exposed_actions", "summary": "List Exposed Actions", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExposedActionResponseSchema"}}}}}, "description": "List all the currently exposed actions for the given account.", "security": [{"AccessPointApiKeyHeader": []}, {"AccessPointApiKeyQuery": []}, {"AccessPointOAuth": []}, {"SessionAuth": []}]}}, "/api/v1/execution-log/{execution_log_id}/": {"get": {"operationId": "get_execution_log_endpoint", "summary": "Get Execution Log Endpoint", "parameters": [{"in": "path", "name": "execution_log_id", "schema": {"format": "uuid", "title": "Execution Log Id", "type": "string"}, "required": true}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExecuteResponse"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponse"}}}}}, "description": "Get the execution log for a given execution log id.", "security": [{"AccessPointApiKeyHeader": []}, {"AccessPointApiKeyQuery": []}, {"AccessPointOAuth": []}, {"SessionAuth": []}]}}}, "components": {"schemas": {"ActionSchema": {"properties": {"key": {"title": "Key", "type": "string"}, "type": {"title": "Type", "type": "string"}, "name": {"title": "Name", "type": "string"}, "app": {"$ref": "#/components/schemas/AppSchema"}, "configuration_link": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "URL to configure and expose this action.", "title": "Configuration Link"}, "score": {"description": "Score of this action for the given query.", "title": "Score", "type": "number"}}, "required": ["key", "type", "name", "app", "score"], "title": "ActionSchema", "type": "object"}, "AppSchema": {"properties": {"selected_api": {"title": "Selected Api", "type": "string"}, "name": {"title": "Name", "type": "string"}, "logo_url": {"title": "Logo Url", "type": "string"}}, "required": ["selected_api", "name", "logo_url"], "title": "AppSchema", "type": "object"}, "GenericResults_ActionSchema_": {"additionalProperties": true, "properties": {"results": {"items": {"$ref": "#/components/schemas/ActionSchema"}, "title": "Results", "type": "array"}}, "required": ["results"], "title": "GenericResults[ActionSchema]", "type": "object"}, "ExposedActionResponseSchema": {"properties": {"results": {"items": {"$ref": "#/components/schemas/ExposedActionSchema"}, "title": "Results", "type": "array"}, "configuration_link": {"description": "URL to configure and expose more actions.", "title": "Configuration Link", "type": "string"}}, "required": ["results", "configuration_link"], "title": "ExposedActionResponseSchema", "type": "object"}, "ExposedActionSchema": {"properties": {"id": {"description": "The unique ID of the exposed action.", "title": "Id", "type": "string"}, "operation_id": {"description": "The operation ID of the exposed action.", "title": "Operation Id", "type": "string"}, "description": {"description": "Description of the action.", "title": "Description", "type": "string"}, "params": {"description": "Available hint fields for the action.", "title": "Params", "type": "object"}}, "required": ["id", "operation_id", "description", "params"], "title": "ExposedActionSchema", "type": "object"}, "ExecuteResponse": {"description": "This is a summary of the results given the action that was executed.", "properties": {"id": {"description": "The id of the execution log.", "title": "Id", "type": "string"}, "action_used": {"description": "The name of the action that was executed.", "title": "Action Used", "type": "string"}, "input_params": {"description": "The params we used / will use to execute the action.", "title": "Input Params", "type": "object"}, "review_url": {"description": "The URL to run the action or review the AI choices the AI made for input_params given instructions.", "title": "Review Url", "type": "string"}, "result": {"anyOf": [{"type": "object"}, {"type": "null"}], "description": "A trimmed down result of the first item of the full results. Ideal for humans and language models!", "title": "Result"}, "additional_results": {"description": "The rest of the full results. Always returns an array of objects", "items": {"type": "object"}, "title": "Additional Results", "type": "array"}, "result_field_labels": {"anyOf": [{"type": "object"}, {"type": "null"}], "description": "Human readable labels for some of the keys in the result.", "title": "Result Field Labels"}, "status": {"default": "success", "description": "The status of the execution.", "enum": ["success", "halted", "error", "empty", "preview"], "title": "Status", "type": "string"}, "error": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "The error message if the execution failed.", "title": "Error"}, "assistant_hint": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "A hint for the assistant on what to do next.", "title": "Assistant Hint"}}, "required": ["id", "action_used", "input_params", "review_url", "additional_results"], "title": "ExecuteResponse", "type": "object"}, "ErrorResponse": {"additionalProperties": true, "properties": {"error": {"description": "Error message.", "title": "Error", "type": "string"}}, "required": ["error"], "title": "ErrorResponse", "type": "object"}}, "securitySchemes": {"AccessPointApiKeyHeader": {"type": "apiKey", "in": "header", "name": "x-api-key"}, "AccessPointApiKeyQuery": {"type": "apiKey", "in": "query", "name": "api_key"}, "AccessPointOAuth": {"type": "oauth2", "flows": {"authorizationCode": {"authorizationUrl": "/oauth/authorize/", "tokenUrl": "/oauth/token/", "scopes": {"nla:exposed_actions:execute": "Run AI Actions", "openid": "OpenID Connect scope", "claudeai": "Let Claude run actions", "profile": "Profile", "email": "Email"}}}}, "SessionAuth": {"type": "apiKey", "in": "cookie", "name": "nlasession"}}}}