Portkey Assistants API is one of 51 APIs that Portkey publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Assistants. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.
This API exposes
23 operations
across 13 paths,
and defines 50 schemas.
It is described by OpenAPI 3.2.0, at version 2.0.0.
Requests are made against a single base URL, https://api.portkey.ai/v1.
23 operations13 paths50 schemas3 DELETE9 GET11 POST
Metadata
The identity and technical contract details declared by the specification.
Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://api.portkey.ai/v1
Authentication
API Key, API Key, HTTP Bearer, API Key, API Key, API Key
Portkey Assistants API declares
6 security schemes
for authenticating requests.
An API key is passed in the header as x-portkey-api-key (Portkey-Key).
An API key is passed in the header as x-portkey-virtual-key (Virtual-Key).
It accepts HTTP bearer tokens (Provider-Auth).
An API key is passed in the header as x-portkey-provider (Provider-Name).
An API key is passed in the header as x-portkey-config (Config).
An API key is passed in the header as x-portkey-custom-host (Custom-Host).
By default, every request must be authenticated.
Paths & Operations 23
Across 13 paths, the API surfaces 23 operations — 3 DELETE, 9 GET, 11 POST. Each is listed below with its method, path, parameters, and response codes.
Assistants 23
Build Assistants that can call models and use tools.
GET
/assistants
Returns a list of assistants.
listAssistants4 params→ 200
POST
/assistants
Create an assistant with a model and instructions.
When a run has the status: "requiresaction" and requiredaction.type is submittooloutputs, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs m…
The contract defines 50 schemas that model the data the API accepts and returns. The most detailed are RunObject (27 properties), RunStepObject (16 properties), CreateRunRequest (16 properties), CreateThreadAndRunRequest (16 properties). Each schema is shown below with its type and property counts.
AssistantsApiToolChoiceOption
Controls which (if any) tool is called by the model. none means the model will not call any tools and instead generates a message. auto is the default value an…
MessageContentTextAnnotationsFileCitationObject
object
A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant u…
5 properties5 required
MessageContentImageFileObject
object
References an image [File](https://platform.openai.com/docs/api-reference/files) in the content of a message.
2 properties2 required
AssistantToolsCode
object
1 property1 required
TruncationObject
object
Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.
2 properties1 required
AssistantToolsFunction
object
2 properties2 required
ModifyRunRequest
object
1 property
DeleteThreadResponse
object
3 properties3 required
ModifyThreadRequest
object
2 properties
ListAssistantsResponse
object
5 properties5 required
RunStepObject
object
Represents a step in execution of a run.
16 properties16 required
AssistantsApiResponseFormatOption
Specifies the format that the model must output. Compatible with [GPT-4o](https://platform.openai.com/docs/models/gpt-4o), [GPT-4 Turbo](https://platform.opena…
AssistantsApiResponseFormat
object
An object describing the expected output of the model. If jsonobject only function type tools are allowed to be passed to the Run. If text the model can return…
1 property
CreateAssistantRequest
object
10 properties1 required
RunStepDetailsToolCallsFileSearchObject
object
3 properties3 required
CreateThreadRequest
object
3 properties
CreateThreadAndRunRequest
object
16 properties2 required
RunObject
object
Represents an execution run on a [thread](https://platform.openai.com/docs/api-reference/threads).
27 properties25 required
ModifyAssistantRequest
object
10 properties
RunStepDetailsToolCallsCodeOutputLogsObject
object
Text output from the Code Interpreter tool call as part of a run step.
2 properties2 required
RunStepDetailsToolCallsObject
object
Details of the tool call.
2 properties2 required
CreateMessageRequest
object
4 properties2 required
AssistantToolsFileSearch
object
2 properties1 required
AssistantObject
object
Represents an assistant that can call the model and use tools.
13 properties9 required
DeleteAssistantResponse
object
3 properties3 required
CreateRunRequest
object
16 properties2 required
ModifyMessageRequest
object
1 property
SubmitToolOutputsRunRequest
object
2 properties1 required
AssistantToolsFileSearchTypeOnly
object
1 property1 required
MessageContentTextObject
object
The text content that is part of a message.
2 properties2 required
RunCompletionUsage
objectnull
Usage statistics related to the run. This value will be null if the run is not in a terminal state (i.e. inprogress, queued, etc.).
3 properties3 required
RunToolCallObject
object
Tool call objects
3 properties3 required
ListMessagesResponse
object
5 properties5 required
MessageContentTextAnnotationsFilePathObject
object
A URL for the file that's generated when the assistant used the codeinterpreter tool to generate a file.
5 properties5 required
MessageContentImageUrlObject
object
References an image URL in the content of a message.
2 properties2 required
RunStepDetailsToolCallsCodeOutputImageObject
object
2 properties2 required
ThreadObject
object
Represents a thread that contains [messages](https://platform.openai.com/docs/api-reference/messages).
5 properties5 required
ListRunStepsResponse
object
5 properties5 required
AssistantsNamedToolChoice
object
Specifies a tool the model should use. Use to force the model to call a specific tool.
2 properties1 required
ParallelToolCalls
boolean
Whether to enable [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) during tool use.
RunStepDetailsToolCallsFunctionObject
object
3 properties3 required
ListRunsResponse
object
5 properties5 required
FunctionParameters
object
The parameters the functions accepts, described as a JSON Schema object. See the [guide](https://platform.openai.com/docs/guides/function-calling) for examples…
FunctionObject
object
4 properties1 required
DeleteMessageResponse
object
3 properties3 required
RunStepCompletionUsage
objectnull
Usage statistics related to the run step. This value will be null while the run step's status is inprogress.
3 properties3 required
MessageObject
object
Represents a message within a [thread](https://platform.openai.com/docs/api-reference/threads).
14 properties14 required
RunStepDetailsToolCallsCodeObject
object
Details of the Code Interpreter tool call the run step was involved in.
3 properties3 required
RunStepDetailsMessageCreationObject
object
Details of the message creation by the run step.
2 properties2 required
MessageRequestContentTextObject
object
The text content that is part of a message.
2 properties2 required
Specification
The full machine-readable OpenAPI contract behind this narrative.
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of Portkey Assistants 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.