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 API

Manage data sources (files, URLs) used to populate agent archival memory.

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

This API exposes 14 JSON Schema definitions.

Tagged areas include Sources. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, a changelog, and 14 JSON Schemas.

This API exposes 14 operations across 11 paths, and defines 15 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

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

14 operations 11 paths 15 schemas 2 DELETE9 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

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

Paths & Operations 14

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

Sources 14

Manage data sources (files, URLs) used to populate agent archival memory.

GET
/v1/sources/countdeprecated
Count Sources
count_sources → 200422
GET
/v1/sources/{source_id}deprecated
Retrieve Source
retrieve_source 1 param → 200422
PATCH
/v1/sources/{source_id}deprecated
Modify Source
modify_source 1 param body → 200422
DELETE
/v1/sources/{source_id}deprecated
Delete Source
delete_source 1 param → 200422
GET
/v1/sources/name/{source_name}deprecated
Get Source ID by Name
get_source_id_by_name 1 param → 200422
GET
/v1/sources/metadatadeprecated
Get Sources Metadata
get_sources_metadata 1 param → 200422
GET
/v1/sources/deprecated
List Sources
list_sources → 200422
POST
/v1/sources/deprecated
Create Source
create_source body → 200422
POST
/v1/sources/{source_id}/uploaddeprecated
Upload File to Source
upload_file_to_source 3 params body → 200422
GET
/v1/sources/{source_id}/agentsdeprecated
Get Agents for Source
get_agents_for_source 1 param → 200422
GET
/v1/sources/{source_id}/passagesdeprecated
List Source Passages
list_source_passages 4 params → 200422
GET
/v1/sources/{source_id}/filesdeprecated
List Source Files
list_source_files 5 params → 200422
GET
/v1/sources/{source_id}/files/{file_id}deprecated
Get File Metadata
get_file_metadata 3 params → 200422
DELETE
/v1/sources/{source_id}/{file_id}deprecated
Delete File from Source
delete_file_from_source 2 params → 204422

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are FileMetadata (16 properties), Passage (15 properties), Source (11 properties), EmbeddingConfig (10 properties). Each schema is shown below with its type and property counts.

Body_upload_file_to_source
object
1 property 1 required
SourceCreate
object
Schema for creating a new Source.
7 properties 1 required
DuplicateFileHandling
string
How to handle duplicate filenames when uploading files
FileMetadata
object
Representation of a single FileMetadata
16 properties 1 required
SourceUpdate
object
Schema for updating an existing Source.
5 properties
Source
object
(Deprecated: Use Folder) Representation of a source, which is a collection of files and passages.
11 properties 2 required
FileProcessingStatus
string
ValidationError
object
3 properties 3 required
EmbeddingConfig
object
Configuration for embedding model connection and processing parameters.
10 properties 3 required
FileStats
object
File statistics for metadata endpoint
3 properties 2 required
Passage
object
Representation of a passage, which is stored in archival memory.
15 properties 3 required
VectorDBProvider
string
Supported vector database providers for archival memory
SourceStats
object
Aggregated metadata for a source
5 properties 2 required
OrganizationSourcesStats
object
Complete metadata response for organization sources
4 properties
HTTPValidationError
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

letta-sources-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 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.