# API Reference (https://mosoo.ai/docs/api-reference/)



{/* This file is generated from the mosoo OpenAPI snapshot. Run npm run openapi:pages after changing the spec. */}

## Threads [#threads]

<Cards>
  <Card href="https://mosoo.ai/docs/api-reference/create-a-thread-for-an-agent-api-endpoint/" title="Create a Thread for an Agent API Endpoint" />

  <Card href="https://mosoo.ai/docs/api-reference/list-threads-for-an-agent-api-endpoint/" title="List Threads for an Agent API Endpoint" />

  <Card href="https://mosoo.ai/docs/api-reference/retrieve-thread-summary/" title="Retrieve Thread summary" />

  <Card href="https://mosoo.ai/docs/api-reference/archive-a-thread/" title="Archive a Thread" />

  <Card href="https://mosoo.ai/docs/api-reference/unarchive-a-thread/" title="Unarchive a Thread" />

  <Card href="https://mosoo.ai/docs/api-reference/delete-a-thread/" title="Delete a Thread" />
</Cards>

## Events [#events]

<Cards>
  <Card href="https://mosoo.ai/docs/api-reference/send-user-messages-permission-decisions-or-interrupts-to-a-thread/" title="Send user messages, permission decisions, or interrupts to a Thread" />

  <Card href="https://mosoo.ai/docs/api-reference/list-thread-events/" title="List Thread events" />

  <Card href="https://mosoo.ai/docs/api-reference/stream-thread-events/" title="Stream Thread events" />
</Cards>

## Files [#files]

<Cards>
  <Card href="https://mosoo.ai/docs/api-reference/upload-an-agent-file/" title="Upload an Agent file" />

  <Card href="https://mosoo.ai/docs/api-reference/retrieve-file-metadata/" title="Retrieve file metadata" />

  <Card href="https://mosoo.ai/docs/api-reference/list-thread-files/" title="List Thread files" />

  <Card href="https://mosoo.ai/docs/api-reference/download-thread-file-content/" title="Download Thread file content" />

  <Card href="https://mosoo.ai/docs/api-reference/delete-a-file/" title="Delete a file" />

  <Card href="https://mosoo.ai/docs/api-reference/remove-a-thread-file/" title="Remove a Thread file" />
</Cards>
