Skip to content

artifact

Generated reference page for spec/v1/schemas/resources/artifact.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/artifact.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/artifact.json",
  "type": "object",
  "additionalProperties": false,
  "required": ["artifactId", "runId", "version", "content", "createdAt", "updatedAt"],
  "properties": {
    "artifactId": {
      "$ref": "../common/identity.json#/$defs/artifactId"
    },
    "runId": {
      "$ref": "../common/identity.json#/$defs/runId"
    },
    "threadId": {
      "$ref": "../common/identity.json#/$defs/threadId"
    },
    "version": {
      "$ref": "../common/identity.json#/$defs/version"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "content": {
      "type": "array",
      "items": {
        "$ref": "./message-record.json#/$defs/TaskContent"
      }
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "createdAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "updatedAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    }
  }
}

Generated from spec source.