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

Letta Chat Completions API

Chat operations.

This API exposes 1 operation across 1 path, and defines 40 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 3 base URLs: https://api.letta.com, https://app.letta.com, http://localhost:8283.

1 operations 1 paths 40 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://chat.letta.com
Authentication
HTTP Bearer
Contact
License
Resource Areas
1

Authentication & Security 1

Letta Chat Completions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Chat Completions 1

Chat operations.

POST
/v1/chat/completions
Create Chat Completion
create_chat_completion body → 200422

Schemas 40

The contract defines 40 schemas that model the data the API accepts and returns. The most detailed are ChatCompletionRequest (11 properties), ChatCompletion (8 properties), ChatCompletionAssistantMessageParam (7 properties), ChatCompletionMessage (7 properties). Each schema is shown below with its type and property counts.

ChatCompletionUserMessageParam
object
Messages sent by an end user, containing prompts or additional context information.
3 properties 2 required
Function-Output
object
The function that the model called.
2 properties 2 required
ChatCompletionToolMessageParam
object
3 properties 3 required
ChatCompletionMessageCustomToolCall
object
A call to a custom tool created by the model.
3 properties 3 required
FileFile
object
3 properties
ImageURL
object
2 properties 1 required
FunctionCall-Input
object
Deprecated and replaced by toolcalls. The name and arguments of a function that should be called, as generated by the model.
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
openai__types__chat__chat_completion_token_logprob__TopLogprob
object
3 properties 2 required
AnnotationURLCitation
object
A URL citation when using web search.
4 properties 4 required
InputAudio
object
2 properties 2 required
ChatCompletionSystemMessageParam
object
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, use developer messages for thi…
3 properties 2 required
ChatCompletionAssistantMessageParam
object
Messages sent by the model in response to user messages.
7 properties 1 required
ChatCompletionMessageFunctionToolCall-Output
object
A call to a function tool created by the model.
3 properties 3 required
Choice
object
4 properties 3 required
ChatCompletionFunctionMessageParam
object
3 properties 3 required
Audio
object
Data about a previous audio response from the model. [Learn more](https://platform.openai.com/docs/guides/audio).
1 property 1 required
ChatCompletionContentPartRefusalParam
object
2 properties 2 required
ChatCompletion
object
Represents a chat completion response returned by model, based on the provided input.
8 properties 5 required
CompletionUsage
object
Usage statistics for the completion request.
5 properties 3 required
ChatCompletionContentPartTextParam
object
Learn about [text inputs](https://platform.openai.com/docs/guides/text-generation).
2 properties 2 required
ChatCompletionMessageFunctionToolCallParam
object
A call to a function tool created by the model.
3 properties 3 required
HTTPValidationError
object
1 property
openai__types__chat__chat_completion_message_function_tool_call_param__Function
object
The function that the model called.
2 properties 2 required
ChatCompletionDeveloperMessageParam
object
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, developer messages replace the…
3 properties 2 required
openai__types__chat__chat_completion_token_logprob__ChatCompletionTokenLogprob
object
4 properties 3 required
ChatCompletionMessage
object
A chat completion message generated by the model.
7 properties 1 required
FunctionCall-Output
object
Deprecated and replaced by toolcalls. The name and arguments of a function that should be called, as generated by the model.
2 properties 2 required
File
object
Learn about [file inputs](https://platform.openai.com/docs/guides/text) for text generation.
2 properties 2 required
Custom-Input
object
The custom tool that the model called.
2 properties 2 required
Custom-Output
object
The custom tool that the model called.
2 properties 2 required
ChatCompletionRequest
object
OpenAI-compatible chat completion request - exactly matching OpenAI's schema.
11 properties 2 required
ValidationError
object
3 properties 3 required
ChatCompletionMessageCustomToolCallParam
object
A call to a custom tool created by the model.
3 properties 3 required
ChatCompletionContentPartInputAudioParam
object
Learn about [audio inputs](https://platform.openai.com/docs/guides/audio).
2 properties 2 required
Annotation
object
A URL citation when using web search.
2 properties 2 required
CompletionTokensDetails
object
Breakdown of tokens used in a completion.
4 properties
ChatCompletionContentPartImageParam
object
Learn about [image inputs](https://platform.openai.com/docs/guides/vision).
2 properties 2 required
openai__types__chat__chat_completion__ChoiceLogprobs
object
Log probability information for the choice.
2 properties
PromptTokensDetails
object
Breakdown of tokens used in the prompt.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

letta-chat-completions-api-openapi.yml Raw ↑
Where this information came from

This is an independent, third-party profile of Letta Chat Completions 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.