openapi: 3.0.3 info: title: Docupilot accounts APIs ai append API version: '1.0' description: Docupilot accounts APIs termsOfService: https://docupilot.app/terms-and-conditions/ contact: name: Team Docupilot email: support@docupilot.app tags: - name: append paths: /dashboard/api/v2/append/: post: operationId: append_files parameters: - in: header name: X-Client schema: type: string description: Client Origin - in: header name: X-Workspace schema: type: string description: Workspace unique_key required: true tags: - append requestBody: content: application/json: schema: $ref: '#/components/schemas/AppendFiles' multipart/form-data: schema: $ref: '#/components/schemas/AppendFiles' required: true security: - OAuthAuthentication: [] - SessionAuthentication: [] - tokenAuth: [] responses: '201': content: application/json: schema: type: object properties: file_url: type: string file_name: type: string application/pdf: schema: type: string format: binary description: '' '400': content: application/json: schema: $ref: '#/components/schemas/ValidationError' application/pdf: schema: $ref: '#/components/schemas/ValidationError' description: '' '401': content: application/json: schema: $ref: '#/components/schemas/UnauthenticatedError' application/pdf: schema: $ref: '#/components/schemas/UnauthenticatedError' description: '' '403': content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' application/pdf: schema: $ref: '#/components/schemas/ForbiddenError' description: '' components: schemas: UnauthenticatedError: type: object properties: detail: type: string required: - detail description: '' ForbiddenError: type: object properties: detail: type: string required: - detail description: '' ValidationError: type: object properties: errors: type: object additionalProperties: type: array items: type: string non_field_errors: type: array items: type: string required: - errors - non_field_errors description: '' AppendFiles: type: object properties: files: type: array items: type: string format: binary output_file_name: type: string required: - files description: '' securitySchemes: OAuthAuthentication: type: http scheme: bearer description: OAuth2 Bearer Token Authentication SessionAuthentication: type: apiKey in: cookie name: sessionid description: browser based login takes care of this externalDocs: description: Help docs on how to use API url: https://help.docupilot.app/developers/api-overview