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 Sources and Files API

Uploaded files and folders used for agent grounding and retrieval.

Letta Sources and Files API is one of 49 APIs that Letta publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sources and Files. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 21 operations across 15 paths, and defines 5 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

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

21 operations 15 paths 5 schemas 3 DELETE12 GET2 PATCH4 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 Sources and Files API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — API key created at https://app.letta.com/api-keys, passed as Authorization: Bearer YOURAPIKEY.

Paths & Operations 21

Across 15 paths, the API surfaces 21 operations — 3 DELETE, 12 GET, 2 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Sources and Files 21

Uploaded files and folders used for agent grounding and retrieval.

GET
/v1/sources/deprecated
List Sources
→ 200401
POST
/v1/sources/deprecated
Create Source
body → 200401422
GET
/v1/sources/countdeprecated
Count Sources
→ 200401
GET
/v1/sources/metadatadeprecated
Get Sources Metadata
1 param → 200401
GET
/v1/sources/name/{source_name}deprecated
Get Source Id By Name
1 param → 200401404
GET
/v1/sources/{source_id}deprecated
Retrieve Source
1 param → 200401404
PATCH
/v1/sources/{source_id}deprecated
Modify Source
1 param body → 200401404422
DELETE
/v1/sources/{source_id}deprecated
Delete Source
1 param → 200401404
GET
/v1/sources/{source_id}/agentsdeprecated
Get Agents For Source
1 param → 200401404
GET
/v1/sources/{source_id}/filesdeprecated
List Source Files
5 params → 200401404
GET
/v1/sources/{source_id}/files/{file_id}deprecated
Get File Metadata
3 params → 200401404
GET
/v1/sources/{source_id}/passagesdeprecated
List Source Passages
4 params → 200401404
POST
/v1/sources/{source_id}/uploaddeprecated
Upload File To Source
3 params body → 200401404422
DELETE
/v1/sources/{source_id}/{file_id}deprecated
Delete File From Source
2 params → 200401404
GET
/v1/folders/
List Folders
6 params → 200401
POST
/v1/folders/
Create Folder
body → 200401422
GET
/v1/folders/count
Count Folders
→ 200401
GET
/v1/folders/{folder_id}
Retrieve Folder
1 param → 200401404
PATCH
/v1/folders/{folder_id}
Modify Folder
1 param body → 200401404422
DELETE
/v1/folders/{folder_id}
Delete Folder
1 param → 200401404
POST
/v1/folders/{folder_id}/upload
Upload File To Folder
3 params body → 200401404422

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Source (8 properties), FileMetadata (7 properties), CreateSourceRequest (4 properties), Error (1 property). Each schema is shown below with its type and property counts.

HTTPValidationError
object
1 property
Source
object
A data source (also exposed as a folder) holding uploaded files for agent grounding.
8 properties
Error
object
1 property
CreateSourceRequest
object
4 properties 1 required
FileMetadata
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

letta-sources-and-files-api-openapi.yml Raw ↑

Other APIs Letta publishes across the network.

Letta Code
Letta Admin API
Letta Agents API
Letta Archives API
Letta Blocks API
Letta Chat API
Letta Client-Side Access Tokens API
Letta Conversations API
Letta Device Storage API
Letta Embeddings API
Letta Environments API
Letta Feeds API
Where this information came from

This is an independent, third-party profile of Letta Sources and Files 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.