Clarifai · Schema

apiOutput

Clarifai apiOutput schema

Artificial IntelligenceComputer-VisionNLPImage RecognitionObject DetectionText AnalysisVisual SearchMachine-LearningCustom Model TraininggRPC

Properties

Name Type Description
id string
status object
created_at string
model object The model that created this Output.
input object The input that was passed to the model to create this Output. For example if we have an image model then it will take as input here an Input object with Image filled in.
data object The output data for this Output. For example if we have a concept model then the predicted concepts will appear here.
prompt_tokens integer Number of prompt tokens as reported by the model or third-party API.
completion_tokens integer Number of completion tokens as reported by the model or third-party API.
cached_tokens integer Number of cached prompt tokens as reported by the model (subset of prompt_tokens). Cached tokens are prompt tokens served from the model's KV cache rather than recomputed.
View JSON Schema on GitHub

JSON Schema

apiOutput.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/clarifai/refs/heads/main/json-schema/apiOutput.json",
  "title": "apiOutput",
  "description": "Clarifai apiOutput schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "title": "One of these outputs per Input"
    },
    "status": {
      "$ref": "#/definitions/apistatusStatus"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "When the object was created. We follow the XXXX timestamp\nformat. We use https://www.ietf.org/rfc/rfc3339.txt format:\n\"2006-01-02T15:04:05.999999Z\" so you can expect results like\nthe following from the API:\n\"2017-04-11T21:50:50.223962Z\""
    },
    "model": {
      "$ref": "#/definitions/apiModel",
      "description": "The model that created this Output."
    },
    "input": {
      "$ref": "#/definitions/apiInput",
      "description": "The input that was passed to the model to create this Output. For example if we have an image\nmodel then it will take as input here an Input object with Image filled in."
    },
    "data": {
      "$ref": "#/definitions/apiData",
      "description": "The output data for this Output. For example if we have a concept model then the predicted\nconcepts will appear here."
    },
    "prompt_tokens": {
      "type": "integer",
      "format": "int64",
      "description": "Number of prompt tokens as reported by the model or third-party API."
    },
    "completion_tokens": {
      "type": "integer",
      "format": "int64",
      "description": "Number of completion tokens as reported by the model or third-party API."
    },
    "cached_tokens": {
      "type": "integer",
      "format": "int64",
      "description": "Number of cached prompt tokens as reported by the model (subset of prompt_tokens).\nCached tokens are prompt tokens served from the model's KV cache rather than recomputed."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/apiOutput"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.