{
 "components": {
  "schemas": {
   "AskIn": {
    "properties": {
     "question": {
      "maxLength": 2000,
      "minLength": 3,
      "title": "Question",
      "type": "string"
     },
     "rev": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rev"
     },
     "use_ai": {
      "default": true,
      "title": "Use Ai",
      "type": "boolean"
     }
    },
    "required": [
     "question"
    ],
    "title": "AskIn",
    "type": "object"
   },
   "AuditRunIn": {
    "properties": {
     "rev": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rev"
     },
     "use_ai": {
      "default": false,
      "title": "Use Ai",
      "type": "boolean"
     }
    },
    "title": "AuditRunIn",
    "type": "object"
   },
   "ClosureIn": {
    "properties": {
     "haves": {
      "items": {
       "type": "string"
      },
      "maxItems": 10000,
      "title": "Haves",
      "type": "array"
     },
     "wants": {
      "items": {
       "type": "string"
      },
      "maxItems": 1000,
      "title": "Wants",
      "type": "array"
     }
    },
    "required": [
     "wants"
    ],
    "title": "ClosureIn",
    "type": "object"
   },
   "CommentIn": {
    "properties": {
     "body": {
      "maxLength": 20000,
      "minLength": 1,
      "title": "Body",
      "type": "string"
     },
     "parent_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Parent Id"
     },
     "subject": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Subject",
      "type": "string"
     }
    },
    "required": [
     "subject",
     "body"
    ],
    "title": "CommentIn",
    "type": "object"
   },
   "CompareIn": {
    "properties": {
     "rev": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rev"
     },
     "runs": {
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "minItems": 1,
      "title": "Runs",
      "type": "array"
     }
    },
    "required": [
     "runs"
    ],
    "title": "CompareIn",
    "type": "object"
   },
   "ConnectionIn": {
    "properties": {
     "config": {
      "additionalProperties": true,
      "title": "Config",
      "type": "object"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "secret": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Secret"
     }
    },
    "required": [
     "kind"
    ],
    "title": "ConnectionIn",
    "type": "object"
   },
   "FindingStatusIn": {
    "properties": {
     "note": {
      "default": "",
      "title": "Note",
      "type": "string"
     },
     "status": {
      "pattern": "^(open|acknowledged|resolved|dismissed)$",
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "status"
    ],
    "title": "FindingStatusIn",
    "type": "object"
   },
   "HTTPValidationError": {
    "properties": {
     "detail": {
      "items": {
       "$ref": "#/components/schemas/ValidationError"
      },
      "title": "Detail",
      "type": "array"
     }
    },
    "title": "HTTPValidationError",
    "type": "object"
   },
   "IdsIn": {
    "properties": {
     "ids": {
      "items": {
       "type": "string"
      },
      "maxItems": 10000,
      "title": "Ids",
      "type": "array"
     }
    },
    "required": [
     "ids"
    ],
    "title": "IdsIn",
    "type": "object"
   },
   "LoginIn": {
    "properties": {
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "password": {
      "title": "Password",
      "type": "string"
     }
    },
    "required": [
     "email",
     "password"
    ],
    "title": "LoginIn",
    "type": "object"
   },
   "MemberIn": {
    "properties": {
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "role": {
      "title": "Role",
      "type": "string"
     }
    },
    "required": [
     "email",
     "role"
    ],
    "title": "MemberIn",
    "type": "object"
   },
   "MutationIn": {
    "properties": {
     "branch": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Branch"
     },
     "expected_head": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expected Head"
     },
     "message": {
      "maxLength": 2000,
      "minLength": 3,
      "title": "Message",
      "type": "string"
     },
     "ops": {
      "items": {
       "$ref": "#/components/schemas/Op"
      },
      "maxItems": 50,
      "minItems": 1,
      "title": "Ops",
      "type": "array"
     }
    },
    "required": [
     "ops",
     "message"
    ],
    "title": "MutationIn",
    "type": "object"
   },
   "Op": {
    "properties": {
     "data": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Data"
     },
     "edge_type": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Edge Type"
     },
     "entity": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Entity"
     },
     "fields": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Fields"
     },
     "key": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Key"
     },
     "op": {
      "pattern": "^(set_edge_review|update_entity|add_entity|add_edge)$",
      "title": "Op",
      "type": "string"
     },
     "source": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Source"
     },
     "status": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status"
     },
     "target": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Target"
     },
     "type": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Type"
     }
    },
    "required": [
     "op"
    ],
    "title": "Op",
    "type": "object"
   },
   "OrgIn": {
    "properties": {
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "slug": {
      "title": "Slug",
      "type": "string"
     }
    },
    "required": [
     "slug",
     "name"
    ],
    "title": "OrgIn",
    "type": "object"
   },
   "ProjectIn": {
    "properties": {
     "default_branch": {
      "default": "main",
      "title": "Default Branch",
      "type": "string"
     },
     "description": {
      "default": "",
      "title": "Description",
      "type": "string"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "slug": {
      "title": "Slug",
      "type": "string"
     },
     "visibility": {
      "default": "private",
      "title": "Visibility",
      "type": "string"
     }
    },
    "required": [
     "slug",
     "name"
    ],
    "title": "ProjectIn",
    "type": "object"
   },
   "ProjectPatch": {
    "properties": {
     "default_branch": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Default Branch"
     },
     "description": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Description"
     },
     "name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "settings": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Settings"
     },
     "version": {
      "title": "Version",
      "type": "integer"
     },
     "visibility": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Visibility"
     }
    },
    "required": [
     "version"
    ],
    "title": "ProjectPatch",
    "type": "object"
   },
   "ProtectionIn": {
    "properties": {
     "allow_delete": {
      "default": false,
      "title": "Allow Delete",
      "type": "boolean"
     },
     "allow_force_push": {
      "default": false,
      "title": "Allow Force Push",
      "type": "boolean"
     },
     "min_role": {
      "default": "researcher",
      "title": "Min Role",
      "type": "string"
     },
     "pattern": {
      "title": "Pattern",
      "type": "string"
     }
    },
    "required": [
     "pattern"
    ],
    "title": "ProtectionIn",
    "type": "object"
   },
   "RefUpdate": {
    "properties": {
     "force": {
      "default": false,
      "title": "Force",
      "type": "boolean"
     },
     "new": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "New"
     },
     "old": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Old"
     },
     "ref": {
      "title": "Ref",
      "type": "string"
     }
    },
    "required": [
     "ref",
     "old",
     "new"
    ],
    "title": "RefUpdate",
    "type": "object"
   },
   "RefUpdatesIn": {
    "properties": {
     "updates": {
      "items": {
       "$ref": "#/components/schemas/RefUpdate"
      },
      "maxItems": 500,
      "minItems": 1,
      "title": "Updates",
      "type": "array"
     }
    },
    "required": [
     "updates"
    ],
    "title": "RefUpdatesIn",
    "type": "object"
   },
   "RegisterIn": {
    "properties": {
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "password": {
      "maxLength": 200,
      "minLength": 10,
      "title": "Password",
      "type": "string"
     }
    },
    "required": [
     "email",
     "name",
     "password"
    ],
    "title": "RegisterIn",
    "type": "object"
   },
   "ReviewRequestIn": {
    "properties": {
     "reviewer_email": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Reviewer Email"
     },
     "source_ref": {
      "title": "Source Ref",
      "type": "string"
     },
     "target_ref": {
      "default": "main",
      "title": "Target Ref",
      "type": "string"
     },
     "title": {
      "title": "Title",
      "type": "string"
     }
    },
    "required": [
     "title",
     "source_ref"
    ],
    "title": "ReviewRequestIn",
    "type": "object"
   },
   "SnapshotIn": {
    "properties": {
     "branch": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Branch"
     },
     "delete": {
      "items": {
       "type": "string"
      },
      "maxItems": 500,
      "title": "Delete",
      "type": "array"
     },
     "expected_head": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expected Head"
     },
     "files": {
      "additionalProperties": {
       "type": "string"
      },
      "maxProperties": 500,
      "minProperties": 1,
      "title": "Files",
      "type": "object"
     },
     "message": {
      "maxLength": 2000,
      "minLength": 1,
      "title": "Message",
      "type": "string"
     }
    },
    "required": [
     "files",
     "message"
    ],
    "title": "SnapshotIn",
    "type": "object"
   },
   "TokenIn": {
    "properties": {
     "expires_days": {
      "anyOf": [
       {
        "maximum": 3650.0,
        "minimum": 1.0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": 90,
      "title": "Expires Days"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "project_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Project Id"
     },
     "scopes": {
      "default": [
       "read",
       "write"
      ],
      "items": {
       "type": "string"
      },
      "title": "Scopes",
      "type": "array"
     }
    },
    "required": [
     "name"
    ],
    "title": "TokenIn",
    "type": "object"
   },
   "UploadIn": {
    "properties": {
     "object_id": {
      "title": "Object Id",
      "type": "string"
     },
     "size": {
      "minimum": 0.0,
      "title": "Size",
      "type": "integer"
     }
    },
    "required": [
     "object_id",
     "size"
    ],
    "title": "UploadIn",
    "type": "object"
   },
   "ValidationError": {
    "properties": {
     "ctx": {
      "title": "Context",
      "type": "object"
     },
     "input": {
      "title": "Input"
     },
     "loc": {
      "items": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "integer"
        }
       ]
      },
      "title": "Location",
      "type": "array"
     },
     "msg": {
      "title": "Message",
      "type": "string"
     },
     "type": {
      "title": "Error Type",
      "type": "string"
     }
    },
    "required": [
     "loc",
     "msg",
     "type"
    ],
    "title": "ValidationError",
    "type": "object"
   }
  }
 },
 "info": {
  "description": "Versioned REST API for research repositories. All endpoints require authentication except /health, /ready, /auth/register, /auth/login and signed blob downloads.",
  "title": "ResearchVC API",
  "version": "0.1.0"
 },
 "openapi": "3.1.0",
 "paths": {
  "/api/v1/auth/login": {
   "post": {
    "operationId": "login_api_v1_auth_login_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/LoginIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Login",
    "tags": [
     "auth"
    ]
   }
  },
  "/api/v1/auth/logout": {
   "post": {
    "operationId": "logout_api_v1_auth_logout_post",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Logout",
    "tags": [
     "auth"
    ]
   }
  },
  "/api/v1/auth/me": {
   "get": {
    "operationId": "me_api_v1_auth_me_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Me",
    "tags": [
     "auth"
    ]
   }
  },
  "/api/v1/auth/register": {
   "post": {
    "operationId": "register_api_v1_auth_register_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RegisterIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Register",
    "tags": [
     "auth"
    ]
   }
  },
  "/api/v1/auth/tokens": {
   "get": {
    "operationId": "list_tokens_api_v1_auth_tokens_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "List Tokens",
    "tags": [
     "auth"
    ]
   },
   "post": {
    "operationId": "create_token_api_v1_auth_tokens_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TokenIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Token",
    "tags": [
     "auth"
    ]
   }
  },
  "/api/v1/auth/tokens/{token_id}": {
   "delete": {
    "operationId": "revoke_token_api_v1_auth_tokens__token_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "token_id",
      "required": true,
      "schema": {
       "title": "Token Id",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Revoke Token",
    "tags": [
     "auth"
    ]
   }
  },
  "/api/v1/blobs/{repo_id}/{oid}": {
   "get": {
    "operationId": "signed_blob_api_v1_blobs__repo_id___oid__get",
    "parameters": [
     {
      "in": "path",
      "name": "repo_id",
      "required": true,
      "schema": {
       "title": "Repo Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "oid",
      "required": true,
      "schema": {
       "title": "Oid",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "exp",
      "required": true,
      "schema": {
       "title": "Exp",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "sig",
      "required": true,
      "schema": {
       "title": "Sig",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Signed Blob",
    "tags": [
     "objects"
    ]
   }
  },
  "/api/v1/integrations/github/webhook/{cid}": {
   "post": {
    "operationId": "github_webhook_api_v1_integrations_github_webhook__cid__post",
    "parameters": [
     {
      "in": "path",
      "name": "cid",
      "required": true,
      "schema": {
       "title": "Cid",
       "type": "string"
      }
     },
     {
      "in": "header",
      "name": "x-hub-signature-256",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "X-Hub-Signature-256"
      }
     },
     {
      "in": "header",
      "name": "x-github-event",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "X-Github-Event"
      }
     },
     {
      "in": "header",
      "name": "x-github-delivery",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "X-Github-Delivery"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Github Webhook",
    "tags": [
     "integrations"
    ]
   }
  },
  "/api/v1/invitations/accept": {
   "post": {
    "operationId": "accept_invitation_api_v1_invitations_accept_post",
    "parameters": [
     {
      "in": "query",
      "name": "token",
      "required": true,
      "schema": {
       "title": "Token",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Accept Invitation",
    "tags": [
     "organizations"
    ]
   }
  },
  "/api/v1/organizations": {
   "get": {
    "operationId": "list_orgs_api_v1_organizations_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "List Orgs",
    "tags": [
     "organizations"
    ]
   },
   "post": {
    "operationId": "create_org_api_v1_organizations_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/OrgIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Org",
    "tags": [
     "organizations"
    ]
   }
  },
  "/api/v1/organizations/{org}/members": {
   "get": {
    "operationId": "org_members_api_v1_organizations__org__members_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Org Members",
    "tags": [
     "organizations"
    ]
   },
   "post": {
    "operationId": "org_add_member_api_v1_organizations__org__members_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MemberIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Org Add Member",
    "tags": [
     "organizations"
    ]
   }
  },
  "/api/v1/organizations/{org}/projects": {
   "post": {
    "operationId": "create_project_api_v1_organizations__org__projects_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "header",
      "name": "idempotency-key",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Idempotency-Key"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProjectIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Project",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects": {
   "get": {
    "operationId": "list_projects_api_v1_projects_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "List Projects",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}": {
   "delete": {
    "operationId": "delete_project_api_v1_projects__org___project__delete",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "confirm",
      "required": true,
      "schema": {
       "title": "Confirm",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Project",
    "tags": [
     "projects"
    ]
   },
   "get": {
    "operationId": "get_project_api_v1_projects__org___project__get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Get Project",
    "tags": [
     "projects"
    ]
   },
   "patch": {
    "operationId": "patch_project_api_v1_projects__org___project__patch",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProjectPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Patch Project",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/activity": {
   "get": {
    "operationId": "activity_api_v1_projects__org___project__activity_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "before",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "integer"
        },
        {
         "type": "null"
        }
       ],
       "title": "Before"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Activity",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/ai/usage": {
   "get": {
    "operationId": "ai_usage_api_v1_projects__org___project__ai_usage_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Ai Usage",
    "tags": [
     "usage"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/assistant/ask": {
   "post": {
    "operationId": "assistant_ask_api_v1_projects__org___project__assistant_ask_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AskIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Assistant Ask",
    "tags": [
     "assistant"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/assistant/stream": {
   "post": {
    "description": "Server-sent events: retrieval progress, sources, then the answer.",
    "operationId": "assistant_stream_api_v1_projects__org___project__assistant_stream_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AskIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Assistant Stream",
    "tags": [
     "assistant"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/audits": {
   "get": {
    "operationId": "findings_api_v1_projects__org___project__audits_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "include_inactive",
      "required": false,
      "schema": {
       "default": false,
       "title": "Include Inactive",
       "type": "boolean"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Findings",
    "tags": [
     "audits"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/audits/run": {
   "post": {
    "operationId": "run_audit_job_api_v1_projects__org___project__audits_run_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AuditRunIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Run Audit Job",
    "tags": [
     "audits"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/audits/{finding_id}": {
   "patch": {
    "operationId": "set_finding_api_v1_projects__org___project__audits__finding_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "finding_id",
      "required": true,
      "schema": {
       "title": "Finding Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FindingStatusIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Set Finding",
    "tags": [
     "audits"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/branch-protections": {
   "get": {
    "operationId": "list_protections_api_v1_projects__org___project__branch_protections_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Protections",
    "tags": [
     "projects"
    ]
   },
   "post": {
    "operationId": "add_protection_api_v1_projects__org___project__branch_protections_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProtectionIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Protection",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/branch-protections/{pid}": {
   "delete": {
    "operationId": "del_protection_api_v1_projects__org___project__branch_protections__pid__delete",
    "parameters": [
     {
      "in": "path",
      "name": "pid",
      "required": true,
      "schema": {
       "title": "Pid",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Del Protection",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/branches": {
   "get": {
    "operationId": "branches_api_v1_projects__org___project__branches_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Branches",
    "tags": [
     "branches"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/claims": {
   "get": {
    "operationId": "claims_api_v1_projects__org___project__claims_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     },
     {
      "in": "query",
      "name": "category",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Category"
      }
     },
     {
      "in": "query",
      "name": "evidence",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Evidence"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Claims",
    "tags": [
     "claims"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/code-links": {
   "get": {
    "description": "Research commits \u2194 Git commits (from code_refs recorded at commit time).",
    "operationId": "code_links_api_v1_projects__org___project__code_links_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Code Links",
    "tags": [
     "integrations"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/comments": {
   "get": {
    "operationId": "list_comments_api_v1_projects__org___project__comments_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "subject",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Subject"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Comments",
    "tags": [
     "collaboration"
    ]
   },
   "post": {
    "operationId": "add_comment_api_v1_projects__org___project__comments_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CommentIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Comment",
    "tags": [
     "collaboration"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/comments/{comment_id}": {
   "patch": {
    "operationId": "edit_comment_api_v1_projects__org___project__comments__comment_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "comment_id",
      "required": true,
      "schema": {
       "title": "Comment Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "additionalProperties": true,
        "title": "Body",
        "type": "object"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Edit Comment",
    "tags": [
     "collaboration"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/commits": {
   "get": {
    "description": "Commits reachable from ``rev`` (default branch), newest first. Cursor = last commit id seen.",
    "operationId": "list_commits_api_v1_projects__org___project__commits_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 500,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Cursor"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Commits",
    "tags": [
     "commits"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/commits/{rev}": {
   "get": {
    "operationId": "get_commit_api_v1_projects__org___project__commits__rev__get",
    "parameters": [
     {
      "in": "path",
      "name": "rev",
      "required": true,
      "schema": {
       "title": "Rev",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Get Commit",
    "tags": [
     "commits"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/compare": {
   "get": {
    "description": "Semantic comparison of two research states (commits, branches, tags or releases).",
    "operationId": "compare_api_v1_projects__org___project__compare_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "a",
      "required": true,
      "schema": {
       "title": "A",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "b",
      "required": true,
      "schema": {
       "title": "B",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Compare",
    "tags": [
     "commits"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/datasets": {
   "get": {
    "operationId": "datasets_api_v1_projects__org___project__datasets_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Datasets",
    "tags": [
     "datasets"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/datasets/{entity_id}/diff": {
   "get": {
    "operationId": "dataset_diff_api_v1_projects__org___project__datasets__entity_id__diff_get",
    "parameters": [
     {
      "in": "path",
      "name": "entity_id",
      "required": true,
      "schema": {
       "title": "Entity Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "a",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "A"
      }
     },
     {
      "in": "query",
      "name": "b",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "B"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Dataset Diff",
    "tags": [
     "datasets"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/editor/annotations": {
   "get": {
    "description": "Line-anchored claims, evidence status and audit findings for one source file.",
    "operationId": "editor_annotations_api_v1_projects__org___project__editor_annotations_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": true,
      "schema": {
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Editor Annotations",
    "tags": [
     "editor"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/editor/diff": {
   "get": {
    "operationId": "editor_semantic_diff_api_v1_projects__org___project__editor_diff_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "a",
      "required": true,
      "schema": {
       "title": "A",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "b",
      "required": true,
      "schema": {
       "title": "B",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Editor Semantic Diff",
    "tags": [
     "editor"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/editor/snapshots": {
   "post": {
    "description": "Ingest a manuscript snapshot from an external editor as a new research commit.",
    "operationId": "editor_snapshot_api_v1_projects__org___project__editor_snapshots_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SnapshotIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Editor Snapshot",
    "tags": [
     "editor"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/entities": {
   "get": {
    "operationId": "entities_api_v1_projects__org___project__entities_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "type",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Type"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     },
     {
      "in": "query",
      "name": "q",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Q"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Entities",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/entities/{entity_id}": {
   "get": {
    "operationId": "entity_api_v1_projects__org___project__entities__entity_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "entity_id",
      "required": true,
      "schema": {
       "title": "Entity Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Entity",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/entities/{entity_id}/blob": {
   "get": {
    "operationId": "entity_blob_api_v1_projects__org___project__entities__entity_id__blob_get",
    "parameters": [
     {
      "in": "path",
      "name": "entity_id",
      "required": true,
      "schema": {
       "title": "Entity Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "field",
      "required": true,
      "schema": {
       "pattern": "^[a-z_]+_blob$|^blob$",
       "title": "Field",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Entity Blob",
    "tags": [
     "objects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/experiments": {
   "get": {
    "operationId": "experiments_api_v1_projects__org___project__experiments_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     },
     {
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Status"
      }
     },
     {
      "in": "query",
      "name": "group",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Group"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Experiments",
    "tags": [
     "experiments"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/experiments/compare": {
   "post": {
    "operationId": "compare_runs_api_v1_projects__org___project__experiments_compare_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CompareIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Compare Runs",
    "tags": [
     "experiments"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/experiments/{run_id}/metrics": {
   "get": {
    "operationId": "run_metric_series_api_v1_projects__org___project__experiments__run_id__metrics_get",
    "parameters": [
     {
      "in": "path",
      "name": "run_id",
      "required": true,
      "schema": {
       "title": "Run Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Run Metric Series",
    "tags": [
     "experiments"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/file-diff": {
   "get": {
    "operationId": "file_diff_api_v1_projects__org___project__file_diff_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": true,
      "schema": {
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "a",
      "required": true,
      "schema": {
       "title": "A",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "b",
      "required": true,
      "schema": {
       "title": "B",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "File Diff",
    "tags": [
     "objects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/files": {
   "get": {
    "operationId": "file_content_api_v1_projects__org___project__files_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": true,
      "schema": {
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "File Content",
    "tags": [
     "objects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/graph": {
   "get": {
    "operationId": "graph_api_v1_projects__org___project__graph_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     },
     {
      "in": "query",
      "name": "types",
      "required": false,
      "schema": {
       "items": {
        "type": "string"
       },
       "title": "Types",
       "type": "array"
      }
     },
     {
      "in": "query",
      "name": "edge_types",
      "required": false,
      "schema": {
       "items": {
        "type": "string"
       },
       "title": "Edge Types",
       "type": "array"
      }
     },
     {
      "in": "query",
      "name": "include_proposed",
      "required": false,
      "schema": {
       "default": true,
       "title": "Include Proposed",
       "type": "boolean"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 400,
       "maximum": 5000,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Graph",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/graph/history": {
   "get": {
    "description": "Historical graph comparison between two revisions.",
    "operationId": "graph_history_api_v1_projects__org___project__graph_history_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "a",
      "required": true,
      "schema": {
       "title": "A",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "b",
      "required": true,
      "schema": {
       "title": "B",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Graph History",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/graph/impact": {
   "get": {
    "operationId": "graph_impact_api_v1_projects__org___project__graph_impact_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "entity",
      "required": true,
      "schema": {
       "title": "Entity",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Graph Impact",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/graph/neighborhood": {
   "get": {
    "description": "Server-side subgraph extraction via a recursive SQL query over the indexed snapshot.",
    "operationId": "neighborhood_api_v1_projects__org___project__graph_neighborhood_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "entity",
      "required": true,
      "schema": {
       "title": "Entity",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "depth",
      "required": false,
      "schema": {
       "default": 1,
       "maximum": 4,
       "minimum": 1,
       "title": "Depth",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     },
     {
      "in": "query",
      "name": "direction",
      "required": false,
      "schema": {
       "default": "both",
       "pattern": "^(both|dependencies|dependents)$",
       "title": "Direction",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Neighborhood",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/graph/path": {
   "get": {
    "operationId": "graph_path_api_v1_projects__org___project__graph_path_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "src",
      "required": true,
      "schema": {
       "title": "Src",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "dst",
      "required": true,
      "schema": {
       "title": "Dst",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Graph Path",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/graph/stale": {
   "get": {
    "operationId": "graph_stale_api_v1_projects__org___project__graph_stale_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Graph Stale",
    "tags": [
     "graph"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/integrations": {
   "get": {
    "operationId": "list_connections_api_v1_projects__org___project__integrations_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Connections",
    "tags": [
     "integrations"
    ]
   },
   "post": {
    "operationId": "add_connection_api_v1_projects__org___project__integrations_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ConnectionIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Connection",
    "tags": [
     "integrations"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/integrations/{cid}": {
   "delete": {
    "operationId": "delete_connection_api_v1_projects__org___project__integrations__cid__delete",
    "parameters": [
     {
      "in": "path",
      "name": "cid",
      "required": true,
      "schema": {
       "title": "Cid",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Connection",
    "tags": [
     "integrations"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/integrations/{cid}/events": {
   "get": {
    "operationId": "connection_events_api_v1_projects__org___project__integrations__cid__events_get",
    "parameters": [
     {
      "in": "path",
      "name": "cid",
      "required": true,
      "schema": {
       "title": "Cid",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Connection Events",
    "tags": [
     "integrations"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/jobs": {
   "get": {
    "operationId": "jobs_api_v1_projects__org___project__jobs_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Jobs",
    "tags": [
     "jobs"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/manuscripts": {
   "get": {
    "operationId": "manuscripts_api_v1_projects__org___project__manuscripts_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Manuscripts",
    "tags": [
     "manuscripts"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/manuscripts/{ms_id}": {
   "get": {
    "operationId": "manuscript_api_v1_projects__org___project__manuscripts__ms_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "ms_id",
      "required": true,
      "schema": {
       "title": "Ms Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Manuscript",
    "tags": [
     "manuscripts"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/manuscripts/{ms_id}/diff": {
   "get": {
    "operationId": "manuscript_diff_api_v1_projects__org___project__manuscripts__ms_id__diff_get",
    "parameters": [
     {
      "in": "path",
      "name": "ms_id",
      "required": true,
      "schema": {
       "title": "Ms Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "a",
      "required": true,
      "schema": {
       "title": "A",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "b",
      "required": true,
      "schema": {
       "title": "B",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Manuscript Diff",
    "tags": [
     "manuscripts"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/manuscripts/{ms_id}/history": {
   "get": {
    "operationId": "manuscript_hist_api_v1_projects__org___project__manuscripts__ms_id__history_get",
    "parameters": [
     {
      "in": "path",
      "name": "ms_id",
      "required": true,
      "schema": {
       "title": "Ms Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Manuscript Hist",
    "tags": [
     "manuscripts"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/members": {
   "get": {
    "operationId": "project_members_api_v1_projects__org___project__members_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Project Members",
    "tags": [
     "projects"
    ]
   },
   "post": {
    "operationId": "project_add_member_api_v1_projects__org___project__members_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MemberIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Project Add Member",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/members/{user_id}": {
   "delete": {
    "operationId": "project_remove_member_api_v1_projects__org___project__members__user_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "user_id",
      "required": true,
      "schema": {
       "title": "User Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Project Remove Member",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/mutations/apply": {
   "post": {
    "operationId": "apply_api_v1_projects__org___project__mutations_apply_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MutationIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Apply",
    "tags": [
     "mutations"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/mutations/preview": {
   "post": {
    "operationId": "preview_api_v1_projects__org___project__mutations_preview_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MutationIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Preview",
    "tags": [
     "mutations"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/objects/{oid}/signed-url": {
   "get": {
    "operationId": "signed_url_api_v1_projects__org___project__objects__oid__signed_url_get",
    "parameters": [
     {
      "in": "path",
      "name": "oid",
      "required": true,
      "schema": {
       "title": "Oid",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Signed Url",
    "tags": [
     "objects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/overview": {
   "get": {
    "operationId": "overview_api_v1_projects__org___project__overview_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Overview",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/releases": {
   "get": {
    "operationId": "releases_api_v1_projects__org___project__releases_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Releases",
    "tags": [
     "releases"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/releases/{a}/compare/{b}": {
   "get": {
    "operationId": "release_compare_api_v1_projects__org___project__releases__a__compare__b__get",
    "parameters": [
     {
      "in": "path",
      "name": "a",
      "required": true,
      "schema": {
       "title": "A",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "b",
      "required": true,
      "schema": {
       "title": "B",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Release Compare",
    "tags": [
     "releases"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/releases/{name}": {
   "get": {
    "operationId": "release_api_v1_projects__org___project__releases__name__get",
    "parameters": [
     {
      "in": "path",
      "name": "name",
      "required": true,
      "schema": {
       "title": "Name",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Release",
    "tags": [
     "releases"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/review-requests": {
   "get": {
    "operationId": "list_review_requests_api_v1_projects__org___project__review_requests_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Review Requests",
    "tags": [
     "reviews"
    ]
   },
   "post": {
    "operationId": "create_review_request_api_v1_projects__org___project__review_requests_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReviewRequestIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Review Request",
    "tags": [
     "reviews"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/review-requests/{rid}": {
   "patch": {
    "operationId": "update_review_request_api_v1_projects__org___project__review_requests__rid__patch",
    "parameters": [
     {
      "in": "path",
      "name": "rid",
      "required": true,
      "schema": {
       "title": "Rid",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "status",
      "required": true,
      "schema": {
       "pattern": "^(open|approved|changes_requested|closed)$",
       "title": "Status",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Update Review Request",
    "tags": [
     "reviews"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/search": {
   "get": {
    "description": "Keyword search over indexed entity versions (latest version per entity) and commits.",
    "operationId": "search_api_v1_projects__org___project__search_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "q",
      "required": true,
      "schema": {
       "maxLength": 300,
       "minLength": 1,
       "title": "Q",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 20,
       "maximum": 100,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Search",
    "tags": [
     "search"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/security-log": {
   "get": {
    "operationId": "security_log_api_v1_projects__org___project__security_log_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "title": "Limit",
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Security Log",
    "tags": [
     "projects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/tags": {
   "get": {
    "operationId": "tags_api_v1_projects__org___project__tags_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Tags",
    "tags": [
     "tags"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/timeline": {
   "get": {
    "operationId": "research_timeline_api_v1_projects__org___project__timeline_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Research Timeline",
    "tags": [
     "decisions"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/tree": {
   "get": {
    "operationId": "tree_api_v1_projects__org___project__tree_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "rev",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Rev"
      }
     },
     {
      "in": "query",
      "name": "prefix",
      "required": false,
      "schema": {
       "default": "",
       "title": "Prefix",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Tree",
    "tags": [
     "objects"
    ]
   }
  },
  "/api/v1/projects/{org}/{project}/usage": {
   "get": {
    "operationId": "usage_api_v1_projects__org___project__usage_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Usage",
    "tags": [
     "usage"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/closure": {
   "post": {
    "operationId": "closure_api_v1_sync__org___project__closure_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ClosureIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Closure",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/info": {
   "get": {
    "operationId": "info_api_v1_sync__org___project__info_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Info",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/objects/fetch": {
   "post": {
    "operationId": "fetch_pack_api_v1_sync__org___project__objects_fetch_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/IdsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Fetch Pack",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/objects/missing": {
   "post": {
    "operationId": "missing_api_v1_sync__org___project__objects_missing_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/IdsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Missing",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/objects/pack": {
   "post": {
    "operationId": "receive_pack_api_v1_sync__org___project__objects_pack_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Receive Pack",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/objects/{oid}": {
   "get": {
    "operationId": "get_object_api_v1_sync__org___project__objects__oid__get",
    "parameters": [
     {
      "in": "path",
      "name": "oid",
      "required": true,
      "schema": {
       "title": "Oid",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Get Object",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/refs": {
   "get": {
    "operationId": "get_refs_api_v1_sync__org___project__refs_get",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Get Refs",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/refs/update": {
   "post": {
    "description": "Atomic multi-ref compare-and-swap. All updates apply or none do.",
    "operationId": "update_refs_api_v1_sync__org___project__refs_update_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RefUpdatesIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Update Refs",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/uploads": {
   "post": {
    "operationId": "start_upload_api_v1_sync__org___project__uploads_post",
    "parameters": [
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/UploadIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Start Upload",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/uploads/{upload_id}": {
   "put": {
    "operationId": "upload_chunk_api_v1_sync__org___project__uploads__upload_id__put",
    "parameters": [
     {
      "in": "path",
      "name": "upload_id",
      "required": true,
      "schema": {
       "title": "Upload Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "offset",
      "required": true,
      "schema": {
       "minimum": 0,
       "title": "Offset",
       "type": "integer"
      }
     },
     {
      "in": "header",
      "name": "x-chunk-sha256",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "X-Chunk-Sha256"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Upload Chunk",
    "tags": [
     "sync"
    ]
   }
  },
  "/api/v1/sync/{org}/{project}/uploads/{upload_id}/complete": {
   "post": {
    "operationId": "complete_upload_api_v1_sync__org___project__uploads__upload_id__complete_post",
    "parameters": [
     {
      "in": "path",
      "name": "upload_id",
      "required": true,
      "schema": {
       "title": "Upload Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "org",
      "required": true,
      "schema": {
       "title": "Org",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "project",
      "required": true,
      "schema": {
       "title": "Project",
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Complete Upload",
    "tags": [
     "sync"
    ]
   }
  },
  "/health": {
   "get": {
    "operationId": "health_health_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Health",
    "tags": [
     "ops"
    ]
   }
  },
  "/ready": {
   "get": {
    "operationId": "ready_ready_get",
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     }
    },
    "summary": "Ready",
    "tags": [
     "ops"
    ]
   }
  }
 }
}
