Upstreet Docs

    Full OpenAPI reference with interactive playground for the Upstreet platform.

    REST API Reference

    The Upstreet REST API gives you full programmatic access to every feature of the platform. All endpoints are documented from our OpenAPI 3.1 specification with an interactive playground -- you can try requests directly from these docs.

    Screenshot of the Upstreet API reference showing endpoint documentation with parameter tables and response schemas, dark theme


    Base URL

    https://upstreet.ai/api

    For local development:

    http://localhost:3000/api

    Authentication

    All API requests require a Bearer token in the Authorization header:

    curl -H "Authorization: Bearer YOUR_API_KEY" \
      https://upstreet.ai/api/npcs

    Get your API key from Account > Developer.


    OpenAPI Specification

    The raw OpenAPI spec is available at:

    You can import this into any OpenAPI-compatible tool (Postman, Insomnia, etc.).


    API Groups

    The API is organized into groups based on resource type. Browse the sidebar to explore each group, or use the links below.

    The API reference pages below are auto-generated from the OpenAPI spec. They include parameter tables, response schemas, and an interactive playground. Run pnpm generate to regenerate them.

    GroupDescription
    AccountUser account settings and preferences
    NPCsNPC lifecycle -- create, update, delete, chat threads
    GenerationsAI generation pipelines -- create, poll, stream, delete
    AssetsBinary asset storage for characters, scenes, items, etc.
    WikiWiki projects, pages, revisions, and rendering
    BlogBlog projects and AI-generated posts
    WebWeb projects and generated site assets
    VoicesVoice assets and TTS
    ChatReal-time chat messaging
    ForumDiscussion forums and threads
    TimelineSocial timeline posts
    MarketMarketplace contracts and trading
    PartiesMulti-agent party management
    EmailIn-platform email system
    Levels3D world levels
    RPGRPG stories and gameplay
    ImageboardImage-focused discussion boards
    KanbanProject management boards

    Using the SDK Instead

    For most use cases, the pu-client SDK provides a more ergonomic interface than raw REST calls. The SDK wraps every API endpoint with typed methods, automatic authentication, and streaming support.