{
  "components": {
    "schemas": {
      "ApiError": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "additionalProperties": false,
            "properties": {
              "code": { "anyOf": [{ "type": "string" }, { "type": "null" }], "default": null },
              "message": { "type": "string" },
              "param": { "anyOf": [{ "type": "string" }, { "type": "null" }], "default": null },
              "type": {
                "enum": [
                  "invalid_request_error",
                  "authentication_error",
                  "permission_error",
                  "not_found_error",
                  "conflict_error",
                  "rate_limit_error",
                  "insufficient_balance_error",
                  "api_error"
                ],
                "type": "string"
              }
            },
            "required": ["message", "type", "param", "code"],
            "type": "object"
          }
        },
        "required": ["error"],
        "type": "object"
      },
      "Artifact": {
        "additionalProperties": false,
        "properties": {
          "bytes": { "type": "string" },
          "created_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
          "expires_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
          "id": { "pattern": "^art_[a-z0-9]{20}$", "type": "string" },
          "media_type": { "type": "string" },
          "object": { "const": "artifact", "type": "string" },
          "purpose": { "type": "string" },
          "status": { "type": "string" }
        },
        "required": [
          "id",
          "object",
          "purpose",
          "media_type",
          "bytes",
          "status",
          "created_at",
          "expires_at"
        ],
        "type": "object"
      },
      "AudioAnalysisRequest": {
        "additionalProperties": false,
        "properties": {
          "async": { "type": "boolean" },
          "job_id": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" },
          "metadata": {
            "additionalProperties": { "maxLength": 512, "type": "string" },
            "propertyNames": { "type": "string" },
            "type": "object"
          },
          "processing": {
            "additionalProperties": false,
            "properties": {
              "chapters": {
                "additionalProperties": false,
                "properties": { "model": { "maxLength": 100, "minLength": 1, "type": "string" } },
                "type": "object"
              },
              "diarization": {
                "additionalProperties": false,
                "properties": {
                  "max_speakers": { "maximum": 100, "minimum": 1, "type": "integer" },
                  "min_speakers": { "maximum": 100, "minimum": 1, "type": "integer" },
                  "model": { "maxLength": 100, "minLength": 1, "type": "string" }
                },
                "type": "object"
              },
              "entities": {
                "additionalProperties": false,
                "properties": {
                  "model": { "maxLength": 100, "minLength": 1, "type": "string" },
                  "types": {
                    "items": { "maxLength": 64, "minLength": 1, "type": "string" },
                    "maxItems": 64,
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "failure_policy": { "enum": ["fail_fast", "continue_independent"], "type": "string" },
              "formatting": {
                "additionalProperties": false,
                "properties": { "model": { "maxLength": 100, "minLength": 1, "type": "string" } },
                "type": "object"
              },
              "key_phrases": {
                "additionalProperties": false,
                "properties": { "model": { "maxLength": 100, "minLength": 1, "type": "string" } },
                "type": "object"
              },
              "max_cost_usd": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,10})?$", "type": "string" },
              "sentiment": {
                "additionalProperties": false,
                "properties": {
                  "granularity": { "enum": ["document", "utterance"], "type": "string" },
                  "model": { "maxLength": 100, "minLength": 1, "type": "string" }
                },
                "type": "object"
              },
              "summary": {
                "additionalProperties": false,
                "properties": {
                  "model": { "maxLength": 100, "minLength": 1, "type": "string" },
                  "type": { "enum": ["brief", "bullets", "detailed"], "type": "string" }
                },
                "type": "object"
              },
              "tasks": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 64,
                      "minLength": 1,
                      "pattern": "^[a-z][a-z0-9_-]*$",
                      "type": "string"
                    },
                    "instructions": { "maxLength": 20000, "minLength": 1, "type": "string" },
                    "max_output_tokens": { "maximum": 131072, "minimum": 1, "type": "integer" },
                    "model": { "maxLength": 100, "minLength": 1, "type": "string" },
                    "reasoning": {
                      "additionalProperties": false,
                      "properties": {
                        "effort": {
                          "enum": ["none", "minimal", "low", "medium", "high", "xhigh"],
                          "type": "string"
                        }
                      },
                      "required": ["effort"],
                      "type": "object"
                    },
                    "sources": {
                      "items": {
                        "maxLength": 512,
                        "minLength": 3,
                        "pattern": "^#\\/(?:[^/~]|~[01])+(?:\\/(?:[^/~]|~[01])*)*$",
                        "type": "string"
                      },
                      "maxItems": 16,
                      "minItems": 1,
                      "type": "array"
                    },
                    "temperature": { "maximum": 2, "minimum": 0, "type": "number" },
                    "text": {
                      "additionalProperties": false,
                      "properties": {
                        "format": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": { "type": { "const": "text", "type": "string" } },
                              "required": ["type"],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "description": { "maxLength": 1000, "type": "string" },
                                "name": {
                                  "maxLength": 64,
                                  "minLength": 1,
                                  "pattern": "^[A-Za-z0-9_-]+$",
                                  "type": "string"
                                },
                                "schema": {
                                  "additionalProperties": {},
                                  "propertyNames": { "type": "string" },
                                  "type": "object"
                                },
                                "strict": { "type": "boolean" },
                                "type": { "const": "json_schema", "type": "string" }
                              },
                              "required": ["type", "name", "schema"],
                              "type": "object"
                            }
                          ]
                        }
                      },
                      "required": ["format"],
                      "type": "object"
                    }
                  },
                  "required": ["id", "model"],
                  "type": "object"
                },
                "maxItems": 16,
                "type": "array"
              },
              "topics": {
                "additionalProperties": false,
                "properties": { "model": { "maxLength": 100, "minLength": 1, "type": "string" } },
                "type": "object"
              }
            },
            "type": "object"
          },
          "transcript": {
            "additionalProperties": {},
            "properties": {
              "duration_seconds": {
                "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,10})?$",
                "type": "string"
              },
              "language": {
                "anyOf": [{ "maxLength": 16, "minLength": 2, "type": "string" }, { "type": "null" }]
              },
              "segments": {
                "items": {
                  "additionalProperties": {},
                  "propertyNames": { "type": "string" },
                  "type": "object"
                },
                "maxItems": 100000,
                "type": "array"
              },
              "text": { "maxLength": 10000000, "type": "string" },
              "utterances": {
                "items": {
                  "additionalProperties": {},
                  "propertyNames": { "type": "string" },
                  "type": "object"
                },
                "maxItems": 100000,
                "type": "array"
              }
            },
            "required": ["text"],
            "type": "object"
          },
          "webhook_url": { "format": "uri", "pattern": "^https:\\/\\/.*", "type": "string" }
        },
        "required": ["processing"],
        "type": "object"
      },
      "CreateWebhookEndpointRequest": {
        "additionalProperties": false,
        "properties": {
          "url": { "format": "uri", "pattern": "^https:\\/\\/.*", "type": "string" }
        },
        "required": ["url"],
        "type": "object"
      },
      "Deleted": {
        "additionalProperties": false,
        "properties": { "deleted": { "const": true, "type": "boolean" } },
        "required": ["deleted"],
        "type": "object"
      },
      "Job": {
        "additionalProperties": false,
        "properties": {
          "completed_at": {
            "anyOf": [
              { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
              { "type": "null" }
            ]
          },
          "created_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
          "error": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          },
          "expires_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
          "id": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" },
          "metadata": {
            "additionalProperties": { "type": "string" },
            "propertyNames": { "type": "string" },
            "type": "object"
          },
          "object": { "const": "job", "type": "string" },
          "operation": { "type": "string" },
          "progress": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          },
          "result": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          },
          "result_deleted_at": {
            "anyOf": [
              { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
              { "type": "null" }
            ]
          },
          "started_at": {
            "anyOf": [
              { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
              { "type": "null" }
            ]
          },
          "status": {
            "enum": ["queued", "in_progress", "cancelling", "completed", "failed", "cancelled"],
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          }
        },
        "required": [
          "id",
          "object",
          "operation",
          "status",
          "created_at",
          "started_at",
          "completed_at",
          "progress",
          "result",
          "error",
          "usage",
          "metadata",
          "expires_at",
          "result_deleted_at"
        ],
        "type": "object"
      },
      "JobList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "completed_at": {
                  "anyOf": [
                    { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                    { "type": "null" }
                  ]
                },
                "created_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                "error": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                },
                "expires_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                "id": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" },
                "metadata": {
                  "additionalProperties": { "type": "string" },
                  "propertyNames": { "type": "string" },
                  "type": "object"
                },
                "object": { "const": "job", "type": "string" },
                "operation": { "type": "string" },
                "progress": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                },
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                },
                "result_deleted_at": {
                  "anyOf": [
                    { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                    { "type": "null" }
                  ]
                },
                "started_at": {
                  "anyOf": [
                    { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                    { "type": "null" }
                  ]
                },
                "status": {
                  "enum": [
                    "queued",
                    "in_progress",
                    "cancelling",
                    "completed",
                    "failed",
                    "cancelled"
                  ],
                  "type": "string"
                },
                "usage": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                }
              },
              "required": [
                "id",
                "object",
                "operation",
                "status",
                "created_at",
                "started_at",
                "completed_at",
                "progress",
                "result",
                "error",
                "usage",
                "metadata",
                "expires_at",
                "result_deleted_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": { "type": "boolean" },
          "last_id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
          "object": { "const": "list", "type": "string" }
        },
        "required": ["object", "data", "has_more", "last_id"],
        "type": "object"
      },
      "JobStep": {
        "additionalProperties": false,
        "properties": {
          "completed_at": {
            "anyOf": [
              { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
              { "type": "null" }
            ]
          },
          "cost_usd": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
          "created_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
          "error": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          },
          "id": { "pattern": "^stp_[a-z0-9]{20}$", "type": "string" },
          "job_id": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" },
          "key": { "type": "string" },
          "object": { "const": "job.step", "type": "string" },
          "operation": { "type": "string" },
          "output": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          },
          "requested_model": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
          "resolved_model": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
          "response": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          },
          "started_at": {
            "anyOf": [
              { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
              { "type": "null" }
            ]
          },
          "status": {
            "enum": [
              "blocked",
              "queued",
              "in_progress",
              "completed",
              "failed",
              "cancelled",
              "skipped"
            ],
            "type": "string"
          },
          "usage": {
            "anyOf": [
              {
                "additionalProperties": {},
                "propertyNames": { "type": "string" },
                "type": "object"
              },
              { "type": "null" }
            ]
          }
        },
        "required": [
          "id",
          "object",
          "job_id",
          "key",
          "operation",
          "status",
          "requested_model",
          "resolved_model",
          "created_at",
          "started_at",
          "completed_at",
          "output",
          "response",
          "error",
          "usage",
          "cost_usd"
        ],
        "type": "object"
      },
      "JobStepList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "completed_at": {
                  "anyOf": [
                    { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                    { "type": "null" }
                  ]
                },
                "cost_usd": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
                "created_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                "error": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                },
                "id": { "pattern": "^stp_[a-z0-9]{20}$", "type": "string" },
                "job_id": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" },
                "key": { "type": "string" },
                "object": { "const": "job.step", "type": "string" },
                "operation": { "type": "string" },
                "output": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                },
                "requested_model": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
                "resolved_model": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
                "response": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                },
                "started_at": {
                  "anyOf": [
                    { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                    { "type": "null" }
                  ]
                },
                "status": {
                  "enum": [
                    "blocked",
                    "queued",
                    "in_progress",
                    "completed",
                    "failed",
                    "cancelled",
                    "skipped"
                  ],
                  "type": "string"
                },
                "usage": {
                  "anyOf": [
                    {
                      "additionalProperties": {},
                      "propertyNames": { "type": "string" },
                      "type": "object"
                    },
                    { "type": "null" }
                  ]
                }
              },
              "required": [
                "id",
                "object",
                "job_id",
                "key",
                "operation",
                "status",
                "requested_model",
                "resolved_model",
                "created_at",
                "started_at",
                "completed_at",
                "output",
                "response",
                "error",
                "usage",
                "cost_usd"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "has_more": { "type": "boolean" },
          "last_id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
          "object": { "const": "list", "type": "string" }
        },
        "required": ["object", "data", "has_more", "last_id"],
        "type": "object"
      },
      "ModelList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "capabilities": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "capability": { "type": "string" },
                      "native_unit": { "type": "string" },
                      "price_per_unit_usd": { "type": "string" }
                    },
                    "required": ["capability", "native_unit", "price_per_unit_usd"],
                    "type": "object"
                  },
                  "type": "array"
                },
                "display_name": { "type": "string" },
                "id": { "type": "string" },
                "object": { "const": "model", "type": "string" },
                "required_plan": { "anyOf": [{ "type": "string" }, { "type": "null" }] }
              },
              "required": ["id", "object", "display_name", "required_plan", "capabilities"],
              "type": "object"
            },
            "type": "array"
          },
          "object": { "const": "list", "type": "string" }
        },
        "required": ["object", "data"],
        "type": "object"
      },
      "Transcription": {
        "additionalProperties": false,
        "properties": {
          "text": { "type": "string" },
          "usage": {
            "additionalProperties": false,
            "properties": {
              "seconds": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
              "type": { "const": "duration", "type": "string" }
            },
            "required": ["type", "seconds"],
            "type": "object"
          }
        },
        "required": ["text", "usage"],
        "type": "object"
      },
      "WebhookEndpoint": {
        "additionalProperties": false,
        "properties": {
          "created_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
          "id": { "pattern": "^whk_[a-z0-9]{20}$", "type": "string" },
          "object": { "const": "webhook_endpoint", "type": "string" },
          "secret": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
          "status": { "type": "string" },
          "url": { "format": "uri", "type": "string" }
        },
        "required": ["id", "object", "url", "status"],
        "type": "object"
      },
      "WebhookEndpointList": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "created_at": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
                "id": { "pattern": "^whk_[a-z0-9]{20}$", "type": "string" },
                "object": { "const": "webhook_endpoint", "type": "string" },
                "secret": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
                "status": { "type": "string" },
                "url": { "format": "uri", "type": "string" }
              },
              "required": ["id", "object", "url", "status"],
              "type": "object"
            },
            "type": "array"
          },
          "object": { "const": "list", "type": "string" }
        },
        "required": ["object", "data"],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "Ultrafield project API key (sk-...)",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": { "name": "Ultrafield", "url": "https://ultrafield.ai/contact" },
    "description": "OpenAI-compatible Voice AI APIs for transcription, speaker processing, and audio understanding.",
    "title": "Ultrafield API",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/artifacts/{artifactId}": {
      "delete": {
        "operationId": "artifacts_delete",
        "parameters": [
          {
            "in": "path",
            "name": "artifactId",
            "required": true,
            "schema": { "pattern": "^art_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Deleted" } }
            },
            "description": "Artifact deletion status."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Delete artifact content",
        "tags": ["Artifacts"],
        "x-fern-sdk-group-name": "artifacts",
        "x-fern-sdk-method-name": "delete"
      },
      "get": {
        "operationId": "artifacts_get",
        "parameters": [
          {
            "in": "path",
            "name": "artifactId",
            "required": true,
            "schema": { "pattern": "^art_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Artifact" } }
            },
            "description": "Artifact metadata."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Get artifact metadata",
        "tags": ["Artifacts"],
        "x-fern-sdk-group-name": "artifacts",
        "x-fern-sdk-method-name": "get"
      }
    },
    "/v1/artifacts/{artifactId}/content": {
      "get": {
        "operationId": "artifacts_download",
        "parameters": [
          {
            "in": "path",
            "name": "artifactId",
            "required": true,
            "schema": { "pattern": "^art_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/octet-stream": { "schema": { "format": "binary", "type": "string" } }
            },
            "description": "Artifact bytes after following the signed redirect."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Download artifact content",
        "tags": ["Artifacts"],
        "x-fern-sdk-group-name": "artifacts",
        "x-fern-sdk-method-name": "download"
      }
    },
    "/v1/audio/analyses": {
      "post": {
        "operationId": "audio_analyses_create",
        "parameters": [
          {
            "description": "A unique key used to safely retry a non-streaming POST request.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": { "maxLength": 255, "type": "string" }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": { "$ref": "#/components/schemas/AudioAnalysisRequest" }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Job" } } },
            "description": "Accepted analysis job."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Analyze an existing transcript or retained job audio",
        "tags": ["Audio"],
        "x-fern-sdk-group-name": ["audio", "analyses"],
        "x-fern-sdk-method-name": "create"
      }
    },
    "/v1/audio/transcriptions": {
      "post": {
        "description": "Transcribes an audio file synchronously by default. Set async to return a durable job.",
        "operationId": "audio_transcriptions_create",
        "parameters": [
          {
            "description": "A unique key used to safely retry a non-streaming POST request.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": { "maxLength": 255, "type": "string" }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "encoding": { "file": { "contentType": "application/octet-stream" } },
              "schema": {
                "properties": {
                  "async": { "default": false, "type": "boolean" },
                  "file": {
                    "description": "Audio file, up to 25 MB synchronously or 95 MB asynchronously.",
                    "format": "binary",
                    "type": "string"
                  },
                  "language": { "maxLength": 16, "type": "string" },
                  "model": {
                    "description": "Model identifier from GET /v1/models.",
                    "type": "string"
                  },
                  "prompt": { "maxLength": 4000, "type": "string" },
                  "response_format": {
                    "default": "json",
                    "enum": ["json", "text"],
                    "type": "string"
                  },
                  "stream": { "default": false, "type": "boolean" },
                  "webhook_url": { "format": "uri", "type": "string" }
                },
                "required": ["file", "model"],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Transcription" } },
              "text/plain": { "schema": { "type": "string" } }
            },
            "description": "Completed transcription."
          },
          "202": {
            "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Job" } } },
            "description": "Accepted asynchronous transcription."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Create a transcription",
        "tags": ["Audio"],
        "x-fern-sdk-group-name": ["audio", "transcriptions"],
        "x-fern-sdk-method-name": "create"
      }
    },
    "/v1/jobs": {
      "get": {
        "operationId": "jobs_list",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": { "default": 20, "maximum": 100, "minimum": 1, "type": "integer" }
          },
          { "in": "query", "name": "after", "required": false, "schema": { "type": "string" } }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/JobList" } }
            },
            "description": "Jobs."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "List jobs",
        "tags": ["Jobs"],
        "x-fern-sdk-group-name": "jobs",
        "x-fern-sdk-method-name": "list"
      }
    },
    "/v1/jobs/{jobId}": {
      "get": {
        "operationId": "jobs_get",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Job" } } },
            "description": "Job."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Get a job",
        "tags": ["Jobs"],
        "x-fern-sdk-group-name": "jobs",
        "x-fern-sdk-method-name": "get"
      }
    },
    "/v1/jobs/{jobId}/cancel": {
      "post": {
        "operationId": "jobs_cancel",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" }
          },
          {
            "description": "A unique key used to safely retry a non-streaming POST request.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": { "maxLength": 255, "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Job" } } },
            "description": "Updated job."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Cancel a job",
        "tags": ["Jobs"],
        "x-fern-sdk-group-name": "jobs",
        "x-fern-sdk-method-name": "cancel"
      }
    },
    "/v1/jobs/{jobId}/content": {
      "delete": {
        "operationId": "jobs_delete_content",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Deleted" } }
            },
            "description": "Content deletion status."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Delete retained job content",
        "tags": ["Jobs"],
        "x-fern-sdk-group-name": "jobs",
        "x-fern-sdk-method-name": "deleteContent"
      }
    },
    "/v1/jobs/{jobId}/events": {
      "get": {
        "operationId": "jobs_events_stream",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" }
          },
          {
            "in": "header",
            "name": "Last-Event-ID",
            "required": false,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": { "text/event-stream": { "schema": { "type": "string" } } },
            "description": "A Server-Sent Events stream of JobEvent envelopes."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Stream resumable job events",
        "tags": ["Jobs"],
        "x-fern-sdk-group-name": ["jobs", "events"],
        "x-fern-sdk-method-name": "stream"
      }
    },
    "/v1/jobs/{jobId}/steps": {
      "get": {
        "operationId": "jobs_steps_list",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/JobStepList" } }
            },
            "description": "Job steps."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "List job steps",
        "tags": ["Jobs"],
        "x-fern-sdk-group-name": ["jobs", "steps"],
        "x-fern-sdk-method-name": "list"
      }
    },
    "/v1/jobs/{jobId}/steps/{stepId}": {
      "get": {
        "operationId": "jobs_steps_get",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": { "pattern": "^job_[a-z0-9]{20}$", "type": "string" }
          },
          {
            "in": "path",
            "name": "stepId",
            "required": true,
            "schema": { "pattern": "^stp_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/JobStep" } }
            },
            "description": "Job step."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Get a job step",
        "tags": ["Jobs"],
        "x-fern-sdk-group-name": ["jobs", "steps"],
        "x-fern-sdk-method-name": "get"
      }
    },
    "/v1/models": {
      "get": {
        "operationId": "models_list",
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ModelList" } }
            },
            "description": "Available models."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "List available models and effective rates",
        "tags": ["Models"],
        "x-fern-sdk-group-name": "models",
        "x-fern-sdk-method-name": "list"
      }
    },
    "/v1/webhook_endpoints": {
      "get": {
        "operationId": "webhook_endpoints_list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/WebhookEndpointList" }
              }
            },
            "description": "Webhook endpoints."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "List webhook endpoints",
        "tags": ["Webhooks"],
        "x-fern-sdk-group-name": "webhookEndpoints",
        "x-fern-sdk-method-name": "list"
      },
      "post": {
        "operationId": "webhook_endpoints_create",
        "parameters": [
          {
            "description": "A unique key used to safely retry a non-streaming POST request.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": { "maxLength": 255, "type": "string" }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": { "$ref": "#/components/schemas/CreateWebhookEndpointRequest" }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/WebhookEndpoint" } }
            },
            "description": "Existing idempotent endpoint."
          },
          "201": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/WebhookEndpoint" } }
            },
            "description": "Created endpoint with one-time signing secret."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Create a webhook endpoint",
        "tags": ["Webhooks"],
        "x-fern-sdk-group-name": "webhookEndpoints",
        "x-fern-sdk-method-name": "create"
      }
    },
    "/v1/webhook_endpoints/{endpointId}": {
      "delete": {
        "operationId": "webhook_endpoints_delete",
        "parameters": [
          {
            "in": "path",
            "name": "endpointId",
            "required": true,
            "schema": { "pattern": "^whk_[a-z0-9]{20}$", "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Deleted" } }
            },
            "description": "Endpoint deletion status."
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "401": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "403": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "409": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "429": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "500": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/ApiError" } }
            },
            "description": "The request failed."
          }
        },
        "security": [{ "bearerAuth": [] }],
        "summary": "Disable a webhook endpoint",
        "tags": ["Webhooks"],
        "x-fern-sdk-group-name": "webhookEndpoints",
        "x-fern-sdk-method-name": "delete"
      }
    }
  },
  "servers": [{ "url": "https://api.ultrafield.ai" }],
  "tags": [
    { "description": "Available models and exact usage rates.", "name": "Models" },
    { "description": "Transcription and post-transcription analysis.", "name": "Audio" },
    { "description": "Durable asynchronous execution.", "name": "Jobs" },
    { "description": "Retained input and output content.", "name": "Artifacts" },
    { "description": "Signed terminal job delivery.", "name": "Webhooks" }
  ]
}
