How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AppDirect Responses API v2 API

OpenAI Responses-compatible API (v2). Supports streaming (SSE) and non-streaming runs, threaded and stateless execution, and lifecycle control (cancel / pause / resume).The shape mirrors the [official OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses) for inputs, outputs, tools, and streaming events. Items below labelled **[devs.ai extension]** have no equivalent in OpenAI's spec; everything else is intended to be 1:1 compatible.### Vendor extensions used to flag devs.ai additionsEvery devs.ai-specific element in this spec is also tagged with a machine-readable [OpenAPI specification extension](https://swagger.io/docs/specification/openapi-extensions/) so tooling can detect them programmatically without parsing description text:- **`x-devs-ai-extension: true`** — applied to schemas, schema properties, parameters, response headers, and operations that have no OpenAI counterpart.- **`x-devs-ai-extension-values: [string, ...]`** — applied to enum schemas/properties whose enum is OpenAI-aligned but where devs.ai accepts/emits additional values. Lists only the extra values (e.g. `["cancelled"]` on `ResponseStatus`).- **`x-devs-ai-extension-behavior: ""`** — applied where the field name itself is OpenAI-standard but devs.ai's handling differs (e.g. `optional-on-request` on `MessageInputItem.type` because devs.ai accepts the field being omitted while OpenAI requires it).### devs.ai ExtensionsA single reference list of every devs.ai-specific addition exposed by this API. Each entry below is also marked `**[devs.ai extension]**` at its source and carries one of the `x-devs-ai-extension*` vendor extensions described above.**Request fields (`CreateResponseRequest`)**- `chat_mode` — `execute` / `chat` / `plan` execution mode.- `user_secrets` — short-lived per-request API keys / secrets for tools.- `thread_mode` — concurrent-request handling on an existing thread (`collect` / `steer` / `interrupt` / `force`).- `options` — internal devs.ai chat options (provider routing, tracing, etc.).- `reasoning.effort` extra values `none` and `xhigh` (in addition to OpenAI's `minimal` / `low` / `medium` / `high`).**Input content-part flags**- `input_text.invisible` / `input_image.invisible` / `input_file.invisible` — content sent to the model but hidden from end-user transcripts.- `input_text.metadata` — arbitrary metadata attached to a content part (not forwarded to the model).- `output_text.logprobs` (when `output_text` appears inside an `OutputMessageInputItem`).**Input item enum**- `FunctionCallOutputInputItem.status` uses `["success", "error", "cancelled"]` instead of OpenAI's `["in_progress", "completed", "incomplete"]` (incompatible enum).**Tools (`ToolDefinition`)** — only `function` and `web_search` mirror OpenAI; everything below is devs.ai-specific.- `python` — emits `server_tool_call` items (not OpenAI's `code_interpreter_call`).- `image_generation` — shares the type name with OpenAI but uses devs.ai's input shape and emits `server_tool_call` items.- `mcp_server` — references a configured devs.ai MCP integration; does not emit OpenAI's `mcp_list_tools` discovery events or `mcp_approval_request` / `mcp_approval_response` items.- `spreadsheet`, `memory`, `sandbox`, `deep_research` — no OpenAI counterpart.- `web_search.includeXSearch` — extra X (Twitter) search inclusion flag.**Output items (`OutputItem`)**- `server_tool_call` and `server_tool_call_output` — emitted instead of OpenAI's `code_interpreter_call` / `image_generation_call` items for devs.ai's server-side tools.**Response fields (`Response`)**- `selection_metadata` — model routing / selection metadata (chosen provider, fallback chain, latency hints).- `status` extra value `cancelled` (in addition to OpenAI's `in_progress` / `completed` / `failed` / `incomplete`).- `incomplete_details.reason` extra value `paused` (in addition to OpenAI's `max_output_tokens` / `content_filter`).**Streaming events** (full list and payloads in the `x-streaming-events` reference under `components`)- `response.server_tool_call.in_progress` / `.completed` / `.failed`.- `response.server_tool_call_arguments.delta` / `.done`.- `response.subagent.started` / `.progress` / `.completed`.- `response.output_item.added.status_hints` (optional field on `response.output_item.added`).- Every event payload includes a monotonically increasing `sequence_number` field.- Terminal sentinel `event: done` / `data: [DONE]` after the last lifecycle event.**Endpoints / headers**- `POST /api/v2/responses/{responseId}/pause` — pause an active threaded response run.- `POST /api/v2/responses/{responseId}/resume` — resume a paused threaded response run, optionally supplying tool outputs.- `GET /api/v2/responses/{responseId}/stream` — reconnect to an in-flight SSE stream after a network drop, resuming from `lastSequence`.- `POST /api/v2/responses/{responseId}/deep-research/resume` — approve / deny / clarify a paused deep research subagent.- `x-stream-chat-id` response header on streaming `POST /api/v2/responses` and on the `/stream` reconnect endpoint.

AppDirect Responses API v2 API is one of 75 APIs that AppDirect publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Responses API v2. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 7 operations across 7 paths, and defines 49 schemas. It is described by OpenAPI 3.2.0, at version v296.0-SNAPSHOT.

Requests are made against 2 base URLs: https://marketplace.appdirect.com/api, https://virtserver.swaggerhub.com.

7 operations 7 paths 49 schemas 2 GET5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v296.0-SNAPSHOT
Base URL
https://marketplace.appdirect.com/api
Resource Areas
1

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 2 GET, 5 POST. Each is listed below with its method, path, parameters, and response codes.

Responses API v2 7

OpenAI Responses-compatible API (v2). Supports streaming (SSE) and non-streaming runs, threaded and stateless execution, and lifecycle control (cancel / pause / resume). The shape…

POST
/api/v2/responses
Create a response
createResponse body → 200400
GET
/api/v2/responses/{responseId}
Get a response
getResponse 1 param → 200404
GET
/api/v2/responses/{responseId}/stream
Reconnect to an in-flight response stream
streamResponse 3 params → 200404
POST
/api/v2/responses/{responseId}/cancel
Cancel a response
cancelResponse 1 param body → 200404409
POST
/api/v2/responses/{responseId}/pause
Pause a response
pauseResponse 1 param body → 200404409
POST
/api/v2/responses/{responseId}/resume
Resume a response
resumeResponse 1 param body → 200404409
POST
/api/v2/responses/{responseId}/deep-research/resume
Resume a deep research subagent
resumeDeepResearch 1 param body → 200404409

Schemas 49

The contract defines 49 schemas that model the data the API accepts and returns. The most detailed are CreateResponseRequest (25 properties), Response (21 properties), McpCallOutputItem (8 properties), DeepResearchToolDefinition (7 properties). Each schema is shown below with its type and property counts.

ImageGenerationToolDefinition
object
[devs.ai extension] Image generation tool. Shares the type name imagegeneration with OpenAI but the input shape (modelId, samples, aspectRatio, quality, style)…
7 properties 2 required
InputImageContent
object
5 properties 1 required
ToolOutput
object
3 properties 2 required
CancelPolicy
string
Usage
objectnull
Token usage details for the response. Mirrors OpenAI's ResponseUsage shape, including the plural inputtokensdetails / outputtokensdetails field names.
5 properties 5 required
ToolDefinition
A tool the model may invoke. The function and websearch variants mirror OpenAI's Responses API tools. All other variants are devs.ai-specific built-ins.
MemoryToolDefinition
object
[devs.ai extension] Long-term memory tool. No OpenAI counterpart. Emits servertoolcall / servertoolcalloutput items.
1 property 1 required
McpServerToolDefinition
object
[devs.ai extension] Reference to a configured MCP server integration. Differs from OpenAI's mcp tool: devs.ai accepts { type: 'mcpserver', toolId } referring t…
2 properties 2 required
InputItem
Input item for the Responses API (message, functioncall, or functioncalloutput)
FunctionCallInputItem
object
A prior functioncall item submitted as input. Mirrors OpenAI's FunctionCallItemParam.
5 properties 4 required
Response
object
A model response. Mirrors OpenAI's Responses API Response shape with the devs.ai extensions noted below.
21 properties 5 required
InputTextContent
object
4 properties 2 required
UrlCitationAnnotation
object
5 properties 4 required
ResumeDeepResearchRequest
object
7 properties 1 required
ChatOptions
object
1 property
OutputMessage
object
5 properties 5 required
WebSearchToolDefinition
object
Web search tool. The output items (websearchcall) and streaming events (response.websearchcall.inprogress|searching|completed) emitted by devs.ai match OpenAI'…
2 properties 1 required
PythonToolDefinition
object
[devs.ai extension] Server-side Python execution tool. Conceptually similar to OpenAI's codeinterpreter tool, but devs.ai emits servertoolcall / servertoolcall…
1 property 1 required
ThreadMode
string
[devs.ai extension] Controls how a new request is handled when an existing thread is mid-run. No OpenAI counterpart.
InputContentPart
Content part for an InputMessageInputItem (role: user|system|developer). Mirrors OpenAI's InputContent union: inputtext, inputimage, or inputfile only.
ControlResponse
object
4 properties 3 required
ErrorResponse
object
1 property 1 required
InputFileContent
object
5 properties 1 required
FunctionCallOutputInputItem
object
Result of a prior functioncall submitted as input. Mirrors OpenAI's FunctionCallOutputItemParam, except for the status field — see below.
4 properties 3 required
OutputTextPart
object
An outputtext content part inside a streamed/persisted assistant OutputMessage. Mirrors OpenAI's OutputTextContent shape.
3 properties 3 required
DeepResearchControlResponse
object
5 properties 4 required
OutputContentPart
Content part for an OutputMessageInputItem (role: assistant). Mirrors OpenAI's OutputMessageContent union: outputtext or refusal only.
ServerToolCallResultOutputItem
object
[devs.ai extension] Server-executed tool call result. Emitted in pair with ServerToolCallOutputItem instead of OpenAI's codeinterpretercalloutput / imagegenera…
3 properties 3 required
OutputTextContent
object
An outputtext content part inside an assistant message. Mirrors OpenAI's OutputTextContent.
4 properties 3 required
FunctionCallOutputItem
object
6 properties 6 required
ResumeResponseRequest
object
2 properties
ResponseError
objectnull
2 properties 2 required
SpreadsheetToolDefinition
object
[devs.ai extension] Spreadsheet manipulation tool. No OpenAI counterpart. Emits servertoolcall / servertoolcalloutput items.
1 property 1 required
CreateResponseRequest
object
Request body for POST /api/v2/responses. Mirrors OpenAI's Responses API CreateResponse shape with a small set of devs.ai extensions (each marked [devs.ai exten…
25 properties 1 required
McpCallOutputItem
object
MCP tool call output item (OpenAI standard)
8 properties 6 required
InputMessageInputItem
object
A user/system/developer message item. Mirrors OpenAI's InputMessage (request side). id is optional on the request side; the read-side InputMessageResource requ…
5 properties 2 required
OutputItem
ResponseStatus
string
Lifecycle status of the response. OpenAI's standard enum is ["inprogress", "completed", "failed", "incomplete"]. The value cancelled is a [devs.ai extension] r…
DeepResearchToolDefinition
object
[devs.ai extension] Deep research tool that spawns a child workflow to perform multi-step research. No OpenAI counterpart.
7 properties 1 required
MessageInputItem
A message input item. Mirrors OpenAI's input grammar: items with role: user|system|developer are InputMessage-shaped (with inputtext/inputimage/inputfile conte…
WebSearchCallOutputItem
object
3 properties 3 required
SandboxToolDefinition
object
[devs.ai extension] General-purpose sandbox execution tool. No OpenAI counterpart. Emits servertoolcall / servertoolcalloutput items.
1 property 1 required
RefusalContent
object
A refusal content part inside an assistant message. Mirrors OpenAI's RefusalContent.
2 properties 2 required
FunctionToolDefinition
object
A user-defined function tool. Mirrors OpenAI's flat Responses-API FunctionTool shape: { type: "function", name, description?, parameters, strict? }. Note the o…
5 properties 3 required
ReasoningOutputItem
object
5 properties 4 required
OutputMessageInputItem
object
An assistant message submitted as input (e.g. when reconstructing prior turns). Mirrors OpenAI's OutputMessage. id, status, role: assistant, and type: message…
5 properties 5 required
ServerToolCallOutputItem
object
[devs.ai extension] Server-executed tool call output item. Emitted instead of OpenAI's codeinterpretercall / imagegenerationcall items for devs.ai's python and…
3 properties 3 required
CancelResponseRequest
object
2 properties
PauseResponseRequest
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

appdirect-responses-api-v2-api-openapi.yml Raw ↑

Other APIs AppDirect publishes across the network.

AppDirect AI Embed API
AppDirect AI Management API
AppDirect AI Models API
AppDirect AI User Inputs API
AppDirect Answer API
AppDirect API Keys API
AppDirect AppResellerAccount API
AppDirect AppResellerAssignment API
AppDirect AppResellerCatalog API
AppDirect AppResellerCompanyAssociation API
AppDirect AppResellerLeads API
AppDirect AppResellerOpportunities API
Where this information came from

This is an independent, third-party profile of AppDirect Responses API v2 API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.