Replicate · JSON Structure

Replicate Prediction Structure

Structure of a prediction object returned by the Replicate API.

Type: Properties: 0
Artificial IntelligenceMachine-LearningImage-GenerationLanguage ModelsModel Deployment

Replicate Prediction is a JSON Structure definition published by Replicate.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "Replicate Prediction",
  "description": "Structure of a prediction object returned by the Replicate API.",
  "fields": [
    {
      "name": "id",
      "type": "string",
      "required": true,
      "description": "Unique prediction identifier (e.g. xyz123abc456)"
    },
    {
      "name": "version",
      "type": "string",
      "required": false,
      "description": "Model version ID used for versioned predictions"
    },
    {
      "name": "model",
      "type": "string",
      "required": false,
      "description": "Model reference (owner/name) for official model predictions"
    },
    {
      "name": "status",
      "type": "enum",
      "required": true,
      "values": ["starting", "processing", "succeeded", "failed", "canceled"],
      "description": "Current lifecycle status of the prediction"
    },
    {
      "name": "input",
      "type": "object",
      "required": true,
      "description": "Model-specific input parameters"
    },
    {
      "name": "output",
      "type": "any",
      "required": false,
      "description": "Model output - type varies by model (string, array, object)"
    },
    {
      "name": "error",
      "type": "string",
      "required": false,
      "description": "Error message if prediction failed"
    },
    {
      "name": "logs",
      "type": "string",
      "required": false,
      "description": "Log output from the prediction container"
    },
    {
      "name": "metrics",
      "type": "object",
      "required": false,
      "description": "Performance metrics (predict_time, total_time)"
    },
    {
      "name": "urls",
      "type": "object",
      "required": false,
      "description": "Hypermedia URLs for get, cancel, and stream operations"
    },
    {
      "name": "created_at",
      "type": "datetime",
      "required": true,
      "description": "ISO 8601 timestamp when prediction was created"
    },
    {
      "name": "started_at",
      "type": "datetime",
      "required": false,
      "description": "ISO 8601 timestamp when prediction started processing"
    },
    {
      "name": "completed_at",
      "type": "datetime",
      "required": false,
      "description": "ISO 8601 timestamp when prediction completed"
    },
    {
      "name": "source",
      "type": "enum",
      "required": false,
      "values": ["api", "web"],
      "description": "How the prediction was created"
    },
    {
      "name": "webhook",
      "type": "string",
      "required": false,
      "description": "Webhook URL for async notifications"
    },
    {
      "name": "webhook_events_filter",
      "type": "array",
      "required": false,
      "description": "Filter for webhook events: start, output, logs, completed"
    }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/replicate-prediction-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.