{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firetiger/json-schema/firetiger-post-firetiger-nxagent-v2-agentservice-getartifact-request-schema.json",
  "title": "PostFiretigerNxagentV2AgentserviceGetartifactRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/firetiger-openapi-generated.yml#/components/schemas/PostFiretigerNxagentV2AgentserviceGetartifactRequest",
  "type": "object",
  "properties": {
    "session": {
      "type": "string",
      "description": "Resource name of the session (`agents/{agent}/sessions/{session}`)"
    },
    "sha256": {
      "type": "string",
      "description": "SHA-256 hash of the artifact to retrieve"
    },
    "byte_offset": {
      "type": "integer",
      "description": "Byte offset to start reading from (default: 0). Cannot be combined with `line_offset`/`line_limit`."
    },
    "byte_limit": {
      "type": "integer",
      "description": "Maximum number of bytes to return (`-1` means read to end). Cannot be combined with `line_offset`/`line_limit`."
    },
    "line_offset": {
      "type": "integer",
      "description": "Line offset to start reading from (default: 0). Cannot be combined with `byte_offset`/`byte_limit`."
    },
    "line_limit": {
      "type": "integer",
      "description": "Maximum number of lines to return (`-1` means read to end). Cannot be combined with `byte_offset`/`byte_limit`."
    },
    "jq": {
      "type": "string",
      "description": "JQ filter expression to apply to JSON content. Applied after byte/line slicing."
    },
    "accept": {
      "type": "string",
      "description": "Desired content type(s) as a comma-separated MIME list (e.g. `\"text/*, application/json\"`). Currently supports `application/protobuf` → `application/json` conversion via protojson. When unset, the artifact is returned in its native format."
    }
  },
  "required": [
    "session",
    "sha256"
  ]
}