/
/Letta API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 21m ago · Updated 11mo ago
_internal_templates6
agents47
  • getList Agents
  • postCreate Agent
  • getCount Agents
  • getExport Agent
  • postImport Agent
  • getRetrieve Agent Context Window
  • getRetrieve Agent
  • deleteDelete Agent
  • patchModify Agent
  • getList Agent Tools
  • patchAttach Tool
  • patchDetach Tool
  • patchModify Approval
  • patchAttach Source
  • patchAttach Folder To Agent
  • patchDetach Source
  • patchDetach Folder From Agent
  • patchClose All Open Files
  • patchOpen File
  • patchClose File
  • getList Agent Sources
  • getList Agent Folders
  • getList Agent Files
  • getRetrieve Agent Memory
  • getRetrieve Block
  • patchModify Block
  • getList Blocks
  • patchAttach Block
  • patchDetach Block
  • getList Passages
  • postCreate Passage
  • getSearch Archival Memory
  • deleteDelete Passage
  • getList Messages
  • postSend Message
  • patchModify Message
  • postSend Message Streaming
  • postCancel Agent Run
  • postSearch Messages
  • postSend Message Async
  • patchReset Messages
  • getList Agent Groups
  • postPreview Raw Payload
  • postSummarize Agent Conversation
  • postSearch Deployed Agents
  • postMigrate Agent
  • getRetrieve Memory Variables
archives3
blocks7
clientSideAccessTokens3
embeddings1
folders13
groups11
health1
identities10
jobs5
messages5
models3
projects1
providers7
runs9
sources14
steps6
tag1
telemetry1
templates13
tools20
voice1
    agents

    Count Agents

    Get the total number of agents.

    get/v1/agents/count

    Response

    Successful Response

    integer required

    Changes