{
  "openapi": "3.1.0",
  "info": {
    "title": "exports-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.trint.com/export"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/json/{trint-id}": {
      "get": {
        "summary": "JSON",
        "description": "Export a Trint in JSON format",
        "operationId": "jsontrint-id",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"title\": \"Trint title.mp4\",\n  \"words\": [\n    {\n      \"paragraphId\": \"paragraphId1\",\n      \"speaker\": \"speakerId1\",\n      \"value\": \"Text \",\n      \"duration\": 61,\n      \"time\": 7584,\n      \"highlightColor\": \"yellow\",\n      \"strikethrough\": false\n    },\n    {\n      \"paragraphId\": \"paragraphId1\",\n      \"speaker\": \"speakerId1\",\n      \"value\": \"content. \",\n      \"duration\": 260,\n      \"time\": 4407,\n      \"highlightColor\": \"yellow\"\n    },\n    {\n      \"paragraphId\": \"paragraphId2\",\n      \"speaker\": \"speakerId2\",\n      \"value\": \"Text \",\n      \"duration\": 270,\n      \"time\": 4668\n    },\n    {\n      \"paragraphId\": \"paragraphId2\",\n      \"speaker\": \"speakerId2\",\n      \"value\": \"content. \",\n      \"duration\": 540,\n      \"time\": 4938\n    }\n  ],\n  \"speakers\": {\n    \"speakerId1\": {\n      \"name\": \"Speaker 1\"\n    },\n    \"speakerId2\": {\n      \"name\": \"Speaker 2\"\n    }\n  },\n  \"paragraphs\": {\n    \"paragraphId1\": {\n      \"verify\": {\n        \"author\": null,\n        \"status\": \"DEFAULT\"\n      }\n    },\n    \"paragraphId2\": {\n      \"verify\": {\n        \"author\": null,\n        \"status\": \"DEFAULT\"\n      }\n    }\n  },\n  \"realtime\": { \"status\": \"STOPPED\" }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "example": "Trint title.mp4"
                    },
                    "words": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "paragraphId": {
                            "type": "string",
                            "example": "paragraphId1"
                          },
                          "speaker": {
                            "type": "string",
                            "example": "speakerId1"
                          },
                          "value": {
                            "type": "string",
                            "example": "Text "
                          },
                          "duration": {
                            "type": "integer",
                            "example": 61,
                            "default": 0
                          },
                          "time": {
                            "type": "integer",
                            "example": 7584,
                            "default": 0
                          },
                          "highlightColor": {
                            "type": "string",
                            "example": "yellow"
                          },
                          "strikethrough": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          }
                        }
                      }
                    },
                    "speakers": {
                      "type": "object",
                      "properties": {
                        "speakerId1": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string",
                              "example": "Speaker 1"
                            }
                          }
                        },
                        "speakerId2": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string",
                              "example": "Speaker 2"
                            }
                          }
                        }
                      }
                    },
                    "paragraphs": {
                      "type": "object",
                      "properties": {
                        "paragraphId1": {
                          "type": "object",
                          "properties": {
                            "verify": {
                              "type": "object",
                              "properties": {
                                "author": {},
                                "status": {
                                  "type": "string",
                                  "example": "DEFAULT"
                                }
                              }
                            }
                          }
                        },
                        "paragraphId2": {
                          "type": "object",
                          "properties": {
                            "verify": {
                              "type": "object",
                              "properties": {
                                "author": {},
                                "status": {
                                  "type": "string",
                                  "example": "DEFAULT"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "realtime": {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "example": "STOPPED"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/html/{trint-id}": {
      "get": {
        "summary": "HTML",
        "description": "Export a Trint in HTML format",
        "operationId": "html",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/edl/{trint-id}": {
      "get": {
        "summary": "Edit Decision List - EDL",
        "description": "Export Trint highlights as an Edit Decision List .edl file",
        "operationId": "transcript-edl",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.edl',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/csv/comments/{trint-id}": {
      "get": {
        "summary": "Comments (CSV)",
        "description": "Export comments from a given Trint in CSV format",
        "operationId": "csvcommentstrint-id",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "ID of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'My Trint',\n  url: 'https://storage/My_Trint_comments.csv',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/avid-ds/{trint-id}": {
      "get": {
        "summary": "Avid DS",
        "description": "Export a Trint as Avid DS .txt format subtitles",
        "operationId": "avid-dstrint-id",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "frame-rate",
            "in": "query",
            "description": "Sets the frame rate used to generate the caption timings. Default: `25`",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 25
            }
          },
          {
            "name": "captions-by-paragraph",
            "in": "query",
            "description": "Creates caption per paragraph instead of automating caption lengths (ignores: `max-subtitle-length`)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "max-subtitle-character-length",
            "in": "query",
            "description": "Sets maximum character count before breaking to a new line or caption. Also calculates maximum time before breaking into new caption (49ms/character), and minimum time before caption is allowed to break if in same paragraph (21ms/character).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 37
            }
          },
          {
            "name": "highlights-only",
            "in": "query",
            "description": "Export highlighted text only",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "enable-speakers",
            "in": "query",
            "description": "Adds each associated speaker name to captions",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-on-new-line",
            "in": "query",
            "description": "Sets speaker names to be shown on a new line instead of inline",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-uppercase",
            "in": "query",
            "description": "Sets all speaker names to uppercase",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.txt',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/csv/highlights/{trint-id}": {
      "get": {
        "summary": "Highlights (CSV)",
        "description": "Export highlights from a given Trint in CSV format",
        "operationId": "csvhighlightstrint-id",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "ID of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'My Trint',\n  url: 'https://storage/My_Trint_highlights.csv',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/csv/full/{trint-id}": {
      "get": {
        "summary": "Transcript CSV",
        "description": "Export a given Trint in CSV format",
        "operationId": "full-transcript-csv",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "ID of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'My Trint',\n  url: 'https://storage/My_Trint_full.csv',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/csv/markers/{trint-id}": {
      "get": {
        "summary": "Markers (CSV)",
        "description": "Export markers from a given Trint in CSV format",
        "operationId": "markers-csv",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "ID of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'My Trint',\n  url: 'https://storage/My_Trint_markers.csv',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/docx/{trint-id}": {
      "get": {
        "summary": "Microsoft Word (docx)",
        "description": "Export a Trint as a .docx document",
        "operationId": "transcript-docx",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "highlights-only",
            "in": "query",
            "description": "Export highlighted text only",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "enable-paragraph-timecodes",
            "in": "query",
            "description": "Append the paragraph timecode to the start of each paragraph",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "speaker-before-timecode",
            "in": "query",
            "description": "Append the paragraph timecode before the speaker name",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "exclude-speaker-names",
            "in": "query",
            "description": "Do not include the speaker names in the resulting document",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.docx',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/xml/{trint-id}": {
      "get": {
        "summary": "XML",
        "description": "Export a Trint in a flattened .xml format",
        "operationId": "xmltrint-id",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.xml',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/premiere-xml/{trint-id}": {
      "get": {
        "summary": "Premiere XML",
        "description": "Exports Trints as a project, compatible with Adobe Premiere Pro, Adobe Audition and Final Cut Pro 7,  that exposes markers with speakers and paragraphs to make clips searchable.",
        "operationId": "premiere-xml",
        "parameters": [
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trint-id",
            "in": "path",
            "description": "ID of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'My Trint',\n  url: 'https://storage/My_Trint.xml',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/spruce-stl/{trint-id}": {
      "get": {
        "summary": "Spruce STL",
        "description": "Export a Trint as Spruce .stl format subtitles",
        "operationId": "spruce-stltrint-id",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "frame-rate",
            "in": "query",
            "description": "Sets the frame rate used to generate the caption timings. Default: `30`",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 30
            }
          },
          {
            "name": "captions-by-paragraph",
            "in": "query",
            "description": "Creates caption per paragraph instead of automating caption lengths (ignores: `max-subtitle-length`)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "max-subtitle-character-length",
            "in": "query",
            "description": "Sets maximum character count before breaking to a new line or caption. Also calculates maximum time before breaking into new caption (49ms/character), and minimum time before caption is allowed to break if in same paragraph (21ms/character).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 37
            }
          },
          {
            "name": "highlights-only",
            "in": "query",
            "description": "Export highlighted text only",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "enable-speakers",
            "in": "query",
            "description": "Adds each associated speaker name to captions",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-on-new-line",
            "in": "query",
            "description": "Sets speaker names to be shown on a new line instead of inline",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-uppercase",
            "in": "query",
            "description": "Sets all speaker names to uppercase",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.stl',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/srt/{trint-id}": {
      "get": {
        "summary": "SubRip SRT",
        "description": "Export a Trint as Subrip .srt format subtitles",
        "operationId": "testinput-1",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "id of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "captions-by-paragraph",
            "in": "query",
            "description": "Creates caption per paragraph instead of automating caption lengths (ignores: `max-subtitle-length`)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "max-subtitle-character-length",
            "in": "query",
            "description": "Sets maximum character count before breaking to a new line or caption. Also calculates maximum time before breaking into new caption (49ms/character), and minimum time before caption is allowed to break if in same paragraph (21ms/character).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 37
            }
          },
          {
            "name": "highlights-only",
            "in": "query",
            "description": "Export highlighted text only",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "enable-speakers",
            "in": "query",
            "description": "Adds each associated speaker name to captions",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-on-new-line",
            "in": "query",
            "description": "Sets speaker names to be shown on a new line instead of inline",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-uppercase",
            "in": "query",
            "description": "Sets all speaker names to uppercase",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.srt',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/vantage-xml/{trint-id}": {
      "get": {
        "summary": "Telestream Vantage XML",
        "description": "Export a Trint as Telestream Vantage XML captions",
        "operationId": "telestream-vantage-xml",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "frame-rate",
            "in": "query",
            "description": "Sets the frame rate used to generate the caption timings. Default: `25`",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 25
            }
          },
          {
            "name": "captions-by-paragraph",
            "in": "query",
            "description": "Creates caption per paragraph instead of automating caption lengths (ignores: `max-subtitle-length`)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "max-subtitle-character-length",
            "in": "query",
            "description": "Sets maximum character count before breaking to a new line or caption. Also calculates maximum time before breaking into new caption (49ms/character), and minimum time before caption is allowed to break if in same paragraph (21ms/character).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 37
            }
          },
          {
            "name": "highlights-only",
            "in": "query",
            "description": "Export highlighted text only",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "enable-speakers",
            "in": "query",
            "description": "Adds each associated speaker name to captions",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-on-new-line",
            "in": "query",
            "description": "Sets speaker names to be shown on a new line instead of inline",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-uppercase",
            "in": "query",
            "description": "Sets all speaker names to uppercase",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.xml',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/text/{trint-id}": {
      "get": {
        "summary": "Text",
        "description": "Export a Trint in plain text format",
        "operationId": "text",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"title\": \"A sample Trint title\",\n\t\"url\": \"https://storage/transcriptId.txt\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "example": "A sample Trint title"
                    },
                    "url": {
                      "type": "string",
                      "example": "https://storage/transcriptId.txt"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/webvtt/{trint-id}": {
      "get": {
        "summary": "WebVTT",
        "description": "Export a Trint as WebVTT .vtt format subtitles",
        "operationId": "webvtttrint-id",
        "parameters": [
          {
            "name": "captions-by-paragraph",
            "in": "query",
            "description": "Creates caption per paragraph instead of automating caption lengths (ignores: `max-subtitle-length`)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "trint-id",
            "in": "path",
            "description": "Id. of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "max-subtitle-character-length",
            "in": "query",
            "description": "Sets maximum character count before breaking to a new line or caption. Also calculates maximum time before breaking into new caption (49ms/character), and minimum time before caption is allowed to break if in same paragraph (21ms/character).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 37
            }
          },
          {
            "name": "highlights-only",
            "in": "query",
            "description": "Export highlighted text only",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "enable-speakers",
            "in": "query",
            "description": "Adds each associated speaker name to captions",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-on-new-line",
            "in": "query",
            "description": "Sets speaker names to be shown on a new line instead of inline",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-uppercase",
            "in": "query",
            "description": "Sets all speaker names to uppercase",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.vtt',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/story-builder/docx/{file-id}": {
      "get": {
        "summary": "Microsoft Word (.docx)",
        "description": "Export a Story Builder document as a .docx file",
        "operationId": "story-builder-docx",
        "parameters": [
          {
            "name": "file-id",
            "in": "path",
            "description": "id of the Story Builder file",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\"title\":\"My Story Builder\",\"url\":\"https://storage/transcriptId.edl\"}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "example": "My Story Builder"
                    },
                    "url": {
                      "type": "string",
                      "example": "https://storage/transcriptId.edl"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/story-builder/project_xml/{file-id}": {
      "get": {
        "summary": "Premiere XML",
        "description": "Export a Story Builder document to Adobe Premiere compatible .xml file",
        "operationId": "premiere-xml-copy",
        "parameters": [
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file-id",
            "in": "path",
            "description": "ID of the Story to export",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'My Trint',\n  url: 'https://storage/My_Trint.xml',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/story-builder/edl/{file-id}": {
      "get": {
        "summary": "Editorial Decision List (EDL)",
        "description": "Export a Story Builder document as a .edl file",
        "operationId": "story-builder-edl",
        "parameters": [
          {
            "name": "file-id",
            "in": "path",
            "description": "id of the Story Builder file",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\"title\":\"My Story Builder\",\"url\":\"https://storage/transcriptId.edl\"}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string",
                      "example": "My Story Builder"
                    },
                    "url": {
                      "type": "string",
                      "example": "https://storage/transcriptId.edl"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    },
    "/srt/{trint-id} (COPY)": {
      "get": {
        "summary": "SubRip SRT",
        "description": "Export a Trint as Subrip .srt format subtitles",
        "operationId": "subrip-srt-copy",
        "parameters": [
          {
            "name": "trint-id",
            "in": "path",
            "description": "id of the Trint to export",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "captions-by-paragraph",
            "in": "query",
            "description": "Creates caption per paragraph instead of automating caption lengths (ignores: `max-subtitle-length`)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "max-subtitle-character-length",
            "in": "query",
            "description": "Sets maximum character count before breaking to a new line or caption. Also calculates maximum time before breaking into new caption (49ms/character), and minimum time before caption is allowed to break if in same paragraph (21ms/character).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 37
            }
          },
          {
            "name": "highlights-only",
            "in": "query",
            "description": "Export highlighted text only",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "enable-speakers",
            "in": "query",
            "description": "Adds each associated speaker name to captions",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-on-new-line",
            "in": "query",
            "description": "Sets speaker names to be shown on a new line instead of inline",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "speaker-uppercase",
            "in": "query",
            "description": "Sets all speaker names to uppercase",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "skip-strikethroughs",
            "in": "query",
            "description": "Skips strikethroughs (can be applied to any export format)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "Create an API key: https://app.trint.com/account/api",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\ttitle: 'A sample Trint title',\n  url: 'https://storage/transcriptId.srt',\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
