Beta

Developer API

API Reference

Fast reference for integrating Manyfold agents with external apps, scripts, and OpenAI-compatible SDKs.

Connect in three minutes

Use the hosted API origin, create a scoped token, then send an OpenAI-compatible request where model is your Manyfold agent id.

Base URL
https://api.manyfold.ai/api/v1
Auth
Authorization: Bearer
Recommended scope
chat.completions
  1. Create or choose an agent and copy its agt_ id.
  2. Create an API token in Settings -> API tokens.
  3. Call /chat/completions with Authorization: Bearer $MF_API_TOKEN.

Endpoints

The public v1 surface is intentionally small: create turns, list API-created conversations, and replay messages.

Errors

Errors use an OpenAI-style envelope so compatible clients can handle auth and validation failures consistently.

{
    "error": {
        "message": "API token does not have chat.completions scope",
        "type": "authentication_error",
        "code": "invalid_api_key"
    }
}

Full chat guide · Conversation guide