Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Helicone Agent API

The Agent API from Helicone — 8 operation(s) for agent.

Helicone Agent API is one of 33 APIs that Helicone publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Agent. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, pricing, an API reference, and an engineering blog.

This API exposes 9 operations across 8 paths, and defines 35 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.helicone.ai/, http://localhost:8585/.

9 operations 8 paths 35 schemas 1 DELETE2 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://ai-gateway.helicone.ai
Authentication
API Key
License
MIT
Resource Areas
1

Authentication & Security 1

Helicone Agent API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (api_key).

  • api_key — Bearer token authentication. Format: 'Bearer YOURAPIKEY'

Paths & Operations 9

Across 8 paths, the API surfaces 9 operations — 1 DELETE, 2 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Agent 9
POST
/v1/agent/generate
Generate body → 200
POST
/v1/agent/thread/{sessionId}/message
UpsertThreadMessage 1 param body → 200
DELETE
/v1/agent/thread/{sessionId}
DeleteThread 1 param → 200
GET
/v1/agent/thread/{sessionId}
GetThread 1 param → 200
POST
/v1/agent/thread/{sessionId}/escalate
EscalateThread 1 param → 200
POST
/v1/agent/thread/create-and-escalate
CreateAndEscalateThread → 200
POST
/v1/agent/thread/{sessionId}/reopen
ReopenThread 1 param → 200
GET
/v1/agent/threads
GetAllThreads → 200
POST
/v1/agent/mcp/search
SearchDocs body → 200

Schemas 35

The contract defines 35 schemas that model the data the API accepts and returns. The most detailed are OpenAIChatRequest (31 properties), InAppThread (9 properties), ThreadSummary (8 properties), ChatCompletion (8 properties). Each schema is shown below with its type and property counts.

ResultSuccess_ChatCompletion-or-_content-string--reasoning-string--calls-any__
object
2 properties 2 required
CompletionUsage
object
Usage statistics for the completion request.
5 properties 3 required
ThreadSummary
object
8 properties 5 required
OpenAIChatRequest
object
Simplified interface for the OpenAI Chat request format
31 properties
ChatCompletionMessage
object
A chat completion message generated by the model.
7 properties 3 required
InAppThread
object
9 properties 9 required
ChatCompletionMessageCustomToolCall
object
A call to a custom tool created by the model.
3 properties 3 required
ResultSuccess__success-boolean__
object
2 properties 2 required
ChatCompletionMessage.Annotation.URLCitation
object
A URL citation when using web search.
4 properties 4 required
ChatCompletionTokenLogprob
object
4 properties 4 required
Result_InAppThread.string_
ResultSuccess_InAppThread_
object
2 properties 2 required
Result__success-boolean_.string_
Record_string.any_
object
Construct a type with a set of properties K of type T
ChatCompletionMessageCustomToolCall.Custom
object
The custom tool that the model called.
2 properties 2 required
ChatCompletionAudio
object
If the audio output modality is requested, this object contains data about the audio response from the model. [Learn more](https://platform.openai.com/docs/gui…
4 properties 4 required
ChatCompletionMessageFunctionToolCall.Function
object
The function that the model called.
2 properties 2 required
Result_string.string_
ChatCompletion
object
Represents a chat completion response returned by model, based on the provided input.
8 properties 5 required
ChatCompletionMessageFunctionToolCall
object
A call to a function tool created by the model.
3 properties 3 required
ChatCompletionTokenLogprob.TopLogprob
object
3 properties 3 required
CompletionUsage.PromptTokensDetails
object
Breakdown of tokens used in the prompt.
2 properties
ChatCompletion.Choice.Logprobs
object
Log probability information for the choice.
2 properties 2 required
ChatCompletionMessage.FunctionCall
object
2 properties 2 required
Result_ThreadSummary-Array.string_
ResultSuccess_ThreadSummary-Array_
object
2 properties 2 required
Record_string.number_
object
Construct a type with a set of properties K of type T
CompletionUsage.CompletionTokensDetails
object
Breakdown of tokens used in a completion.
4 properties
Record_string.string_
object
Construct a type with a set of properties K of type T
ChatCompletionMessage.Annotation
object
A URL citation when using web search.
2 properties 2 required
Result_ChatCompletion-or-_content-string--reasoning-string--calls-any_.string_
ChatCompletion.Choice
object
4 properties 4 required
ResultSuccess_string_
object
2 properties 2 required
ChatCompletionMessageToolCall
A call to a function tool created by the model.
ResultError_string_
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

helicone-agent-api-openapi.yml Raw ↑

Other APIs Helicone publishes across the network.

Helicone API Key API
Helicone Comparison API
Helicone Credits API
Helicone Customer API
Helicone Dashboard API
Helicone Dataset API
Helicone Evals API
Helicone Evaluator API
Helicone Experiment API
Helicone HeliconeSql API
Helicone Integration API
Helicone Metrics API