GET

/v1/schemas/mistral/embeddings/v1%2Fembeddings?kind=output

kind outputactivity embeddingshash 799dced3…extracted Aug 15, 2026version currentsource upstream spec ↗

Response body

0 properties · 0 required · 0 $defs

This schema isn’t a plain object with properties — showing the raw JSON instead.

application/json
{
  "provider": "mistral",
  "activity": "embeddings",
  "endpointId": "v1/embeddings",
  "kind": "output",
  "contentHash": "799dced3192494b15aaeaf026558fe5624f02c92d1b21a9a443ac9409d205e28",
  "specRevision": null,
  "provenance": {
    "sourceUrl": "https://docs.mistral.ai/openapi.yaml",
    "sourceHash": "61436a496404607a7c27f7d2d45989bc51bd699d2106690fd6cc76a3a6c9b692",
    "fetchedAt": 1786771983,
    "extractorVersion": "1",
    "derivation": "upstream-spec",
    "verifiedAt": null
  },
  "createdAt": 1786771983,
  "supersededAt": null,
  "schema": {
    "allOf": [
      {
        "$ref": "#/$defs/ResponseBase"
      },
      {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/EmbeddingResponseData"
            }
          }
        },
        "required": [
          "id",
          "object",
          "data",
          "model",
          "usage"
        ]
      }
    ],
    "$defs": {
      "EmbeddingResponseData": {
        "title": "EmbeddingResponseData",
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "example": "embedding"
          },
          "embedding": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "example": [
              0.1,
              0.2,
              0.3
            ]
          },
          "index": {
            "type": "integer",
            "example": 0
          }
        },
        "examples": [
          {
            "object": "embedding",
            "embedding": [
              0.1,
              0.2,
              0.3
            ],
            "index": 0
          },
          {
            "object": "embedding",
            "embedding": [
              0.4,
              0.5,
              0.6
            ],
            "index": 1
          }
        ]
      },
      "ResponseBase": {
        "type": "object",
        "title": "ResponseBase",
        "properties": {
          "id": {
            "type": "string",
            "example": "cmpl-e5cc70bb28c444948073e77776eb30ef"
          },
          "object": {
            "type": "string",
            "example": "chat.completion"
          },
          "model": {
            "type": "string",
            "example": "mistral-small-latest"
          },
          "usage": {
            "$ref": "#/$defs/UsageInfo"
          }
        }
      },
      "UsageInfo": {
        "type": "object",
        "properties": {
          "prompt_tokens": {
            "type": "integer",
            "title": "Prompt Tokens",
            "default": 0
          },
          "completion_tokens": {
            "title": "Completion Tokens",
            "default": 0,
            "type": "integer"
          },
          "total_tokens": {
            "type": "integer",
            "title": "Total Tokens",
            "default": 0
          },
          "prompt_audio_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prompt Audio Seconds"
          },
          "service_tier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Tier",
            "description": "The service tier at which the request was processed: standard or priority."
          }
        },
        "title": "UsageInfo",
        "additionalProperties": false,
        "required": [
          "prompt_tokens",
          "completion_tokens",
          "total_tokens"
        ]
      }
    }
  }
}

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"mistral","endpointId":"v1/embeddings","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}