{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firetiger/json-schema/firetiger-post-firetiger-investigations-v1-investigationservice-createinves-schema.json",
  "title": "PostFiretigerInvestigationsV1InvestigationserviceCreateinves",
  "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/PostFiretigerInvestigationsV1InvestigationserviceCreateinves",
  "type": "object",
  "properties": {
    "investigation": {
      "type": "string",
      "description": "The investigation to create. Only `display_name` and `description` are read from the client (both metadata); other fields are set by the server. `description` is not sent to the agent."
    },
    "initial_activities": {
      "type": "string",
      "description": "Activities to seed the investigation session with. This is the client input that carries the agent's prompt — put the problem statement in a user-text activity (`user.text.content`), plus any context like log snippets, metric data, or prior analysis."
    },
    "artifacts": {
      "type": "string",
      "description": "References (by `sha256`) to artifacts already uploaded via `PUT /v1/artifacts/{sha256}`. Each entry carries `{name, sha256, content_type, content_encoding}`. The server imports each referenced object into the new session's artifact namespace under the given `name` before the initial activities are appended, so attachments arrive atomically with the message. The CAS object must already exist (returns `FailedPrecondition` otherwise). Each artifact is capped at 64 MiB, with a 128 MiB combined per-request cap."
    }
  },
  "required": [
    "investigation"
  ]
}