{
  "openapi": "3.1.0",
  "info": {
    "title": "BreezeType Read API",
    "version": "1.0.0",
    "description": "Read your own synced BreezeType meetings, saved transcripts, notes, and summaries. Free access using a personal API key with the breeze:read scope from https://breezetype.com/account/api. Local-only, deleted, hidden, and shared-with-you meetings are excluded. These endpoints cannot create, edit, delete, share, or generate content. Existing DittoDub project keys and delegated OAuth tokens do not grant BreezeType access."
  },
  "servers": [
    {
      "url": "https://api.dittodub.com",
      "description": "DittoDub infrastructure for BreezeType"
    }
  ],
  "tags": [
    {
      "name": "BreezeType",
      "description": "Read your own synced meetings."
    }
  ],
  "security": [
    {
      "breezeBearerKey": []
    },
    {
      "breezeApiKey": []
    }
  ],
  "paths": {
    "/v1/breeze/meetings": {
      "get": {
        "operationId": "listBreezeMeetings",
        "tags": [
          "BreezeType"
        ],
        "security": [
          {
            "breezeBearerKey": []
          },
          {
            "breezeApiKey": []
          }
        ],
        "summary": "List your synced meetings",
        "description": "Metadata only, newest started_at first, with ID as a stable tie-breaker. Pass page.next_offset while page.has_more is true. Concurrent sync or deletion may shift offset pages; deduplicate by id. Timestamps use Unix seconds.",
        "x-required-scopes": [
          "breeze:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Meeting metadata and pagination.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "page"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/BreezeMeetingMetadata"
                      }
                    },
                    "page": {
                      "type": "object",
                      "required": [
                        "limit",
                        "offset",
                        "has_more",
                        "next_offset"
                      ],
                      "properties": {
                        "limit": {
                          "type": "integer"
                        },
                        "offset": {
                          "type": "integer"
                        },
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_offset": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid pagination or meeting ID.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "401": {
            "description": "Missing, expired, or revoked API key.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "403": {
            "description": "Personal API key with breeze:read required.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "405": {
            "description": "Read-only endpoint. Allow: GET, HEAD, OPTIONS.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Honor Retry-After when provided.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          }
        }
      }
    },
    "/v1/breeze/meetings/{meeting_id}": {
      "get": {
        "operationId": "getBreezeMeeting",
        "tags": [
          "BreezeType"
        ],
        "security": [
          {
            "breezeBearerKey": []
          },
          {
            "breezeApiKey": []
          }
        ],
        "summary": "Get a meeting and its saved content",
        "description": "Returns saved transcript, notes, and summary when available. Returns 404 for another owner's meeting, including meetings shared with you. Does not generate content or return audio download links.",
        "x-required-scopes": [
          "breeze:read"
        ],
        "parameters": [
          {
            "name": "meeting_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Meeting and saved content.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/BreezeMeeting"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid pagination or meeting ID.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "401": {
            "description": "Missing, expired, or revoked API key.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "403": {
            "description": "Personal API key with breeze:read required.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "404": {
            "description": "Meeting not found or not owned by this key's account.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "405": {
            "description": "Read-only endpoint. Allow: GET, HEAD, OPTIONS.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Honor Retry-After when provided.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/BreezeProblem"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "breezeBearerKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API key",
        "description": "Personal API key with breeze:read. OAuth tokens are not accepted for BreezeType."
      },
      "breezeApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Personal API key with breeze:read. Send only one authentication header."
      }
    },
    "schemas": {
      "BreezeMeetingMetadata": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "started_at",
          "ended_at",
          "duration_seconds",
          "tags",
          "updated_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Stable meeting sync ID."
          },
          "name": {
            "type": "string"
          },
          "started_at": {
            "type": "integer",
            "description": "Unix timestamp in seconds."
          },
          "ended_at": {
            "type": "integer",
            "description": "Unix timestamp in seconds."
          },
          "duration_seconds": {
            "type": "number",
            "minimum": 0
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "updated_at": {
            "type": "integer",
            "description": "Unix timestamp in seconds."
          }
        }
      },
      "BreezeMeeting": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "started_at",
          "ended_at",
          "duration_seconds",
          "tags",
          "updated_at",
          "transcript_text",
          "transcript_segments",
          "notes",
          "summary",
          "summary_generated_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Stable meeting sync ID."
          },
          "name": {
            "type": "string"
          },
          "started_at": {
            "type": "integer",
            "description": "Unix timestamp in seconds."
          },
          "ended_at": {
            "type": "integer",
            "description": "Unix timestamp in seconds."
          },
          "duration_seconds": {
            "type": "number",
            "minimum": 0
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "updated_at": {
            "type": "integer",
            "description": "Unix timestamp in seconds."
          },
          "transcript_text": {
            "type": [
              "string",
              "null"
            ],
            "description": "Saved transcript, or null when unavailable."
          },
          "transcript_segments": {
            "type": "array",
            "items": {},
            "description": "Saved segment records in the desktop sync format; fields may vary by app version."
          },
          "notes": {
            "type": "array",
            "items": {},
            "description": "Saved note records in the desktop sync format."
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Previously saved summary. Reading never generates a summary."
          },
          "summary_generated_at": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Unix timestamp in seconds."
          }
        }
      },
      "BreezeProblem": {
        "type": "object",
        "required": [
          "type",
          "title",
          "status",
          "code",
          "request_id"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          }
        }
      }
    }
  }
}
