LogoLogo
IntroInstalling Dashboard
  • 🌐Distribute
    • Introducing DistributeAI
    • FAQ
  • 🪙Distribute For $DIS
    • Public Presale
    • Tokenomics
  • 📱Distribute For Consumers
    • Distribute.ai Discord Bot
      • Adding the bot to a server
      • Adding the bot as a user app
      • Bot Commands
      • Generation Buttons
      • Prompting Guide
    • Distribute.ai Dashboard
      • Statistics
      • Referrals
      • Account Settings
  • 🖥️Distribute For Inference Providers
    • Chrome Extension
      • Installing Extension
        • Enabling Chrome Flags
        • Chrome GPU Setup Guide
      • Updating the Extension
    • Desktop App
      • Installing Desktop App
      • Desktop App Debugging
        • Windows Debugging
        • MacOS Debugging
        • Linux Debugging
      • Desktop System Requirements
  • 🏢Distribute For Enterprise
    • Enterprise Inference API
      • Authentication
      • OpenAI Compatible API
        • Images
          • Generations
        • Chat
          • Completions
      • Async API
        • Chat
          • Chat Create
          • Chat Result
        • Images
          • Images Create
          • Images Result
    • Enterprise Compute Providers
Powered by GitBook
On this page
  1. Distribute For Enterprise
  2. Enterprise Inference API
  3. Async API
  4. Chat

Chat Result

Retrieve the status/result of an async chat inference request.

PreviousChat CreateNextImages

Last updated 3 months ago

🏢
post
Body
idstringRequiredPattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$
Responses
200
Default Response
application/json
404
Default Response
application/json
500
Default Response
application/json
post
POST /async/chat/result HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "id": "text"
}
{
  "id": "text",
  "status": "CREATED",
  "created": "2025-05-17T07:36:37.294Z",
  "finished": "2025-05-17T07:36:37.294Z",
  "model": "text",
  "service_tier": "text",
  "usage": {
    "completion_tokens": 1,
    "prompt_tokens": 1,
    "total_tokens": 1
  },
  "choices": [
    {
      "finish_reason": "stop",
      "index": 1,
      "message": {
        "content": "text",
        "tool_calls": [
          {
            "id": "text",
            "type": "function",
            "function": {
              "name": "text",
              "arguments": "text"
            }
          }
        ],
        "role": "system",
        "name": "text"
      }
    }
  ]
}