Jasper Documents API
The Documents API from Jasper — 2 operation(s) for documents.
The Documents API from Jasper — 2 operation(s) for documents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/jasper-da-com:jasper-da-com-documents-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Jasper Documents API
description: Jasper API
version: '1.0'
contact: {}
servers:
- url: https://api.jasper.ai
tags:
- name: Documents
description: ''
paths:
/v1/documents:
get:
description: Retrieve all documents in your workspace
operationId: getAllDocuments
parameters:
- name: userId
required: false
in: query
description: The user Id associated with the workspace
schema:
example: usr_535B1EC15F5F41EAB1B400E9ED4077B6
type: string
- name: size
required: false
in: query
description: The maximum number of results to return
schema:
maximum: 50
default: 50
example: 50
type: number
- name: page
required: false
in: query
description: The number of results to skip before starting to collect the results
schema:
default: 1
example: 1
type: number
- name: sort
required: false
in: query
description: The sorting order for the documents
schema:
example: LAST_UPDATED
type: string
enum:
- LAST_UPDATED
- OLDEST_UPDATED
- ALPHABETICAL
- REVERSE_ALPHABETICAL
- NEWEST_CREATED
- OLDEST_CREATED
- name: name
required: false
in: query
description: Filter documents by name
schema:
example: Project Report
type: string
- name: statuses
required: false
in: query
description: Filter documents by statuses
schema:
example:
- DRAFT
- PUBLISHED
type: array
items:
type: string
enum:
- DRAFT
- PUBLISHED
- IN PROGRESS
- IN REVIEW
- COMPLETED
- name: createdAtStart
required: false
in: query
description: Start date for the created at filter
schema:
example: '2021-09-01T00:00:00.000Z'
type: string
- name: createdAtEnd
required: false
in: query
description: End date for the created at filter
schema:
example: '2021-09-01T00:00:00.000Z'
type: string
responses:
'200':
description: Retrieve all documents
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/DocumentResponse'
'401':
description: Unauthorized. User is not a member of the workspace.
'404':
description: Not found. May have an incorrect URL path.
'500':
description: Internal server error. Unable to get documents.
security:
- X-API-Key: []
- oauth2:
- user
summary: Retrieve documents
tags:
- Documents
post:
description: Create a new document in your workspace
operationId: createDocument
parameters: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentCreateDto'
responses:
'201':
description: Created. The new document was added successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentResponse'
'401':
description: Unauthorized. User is not a member of the workspace.
'404':
description: Not found. May have an incorrect URL path.
'500':
description: Internal server error. Unable to create document.
security:
- X-API-Key: []
- oauth2:
- user
summary: Create document
tags:
- Documents
/v1/documents/{documentId}:
get:
description: Retrieve a specific document in your workspace by ID
operationId: getDocumentById
parameters:
- name: documentId
required: true
in: path
schema:
type: string
responses:
'200':
description: Retrieve document by ID
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentResponse'
'401':
description: Unauthorized. User is not a member of the workspace.
'404':
description: Not found. May have an incorrect URL path.
'500':
description: Internal server error. Unable to get specified document.
security:
- X-API-Key: []
- oauth2:
- user
summary: Retrieve document by ID
tags:
- Documents
patch:
description: Update a document in your workspace
operationId: updateDocument
parameters:
- name: documentId
required: true
in: path
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentUpdateDto'
responses:
'200':
description: Updated document
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentResponse'
'401':
description: Unauthorized. User is not a member of the workspace.
'404':
description: Not found. May have an incorrect URL path.
'500':
description: Internal server error. Unable to update document.
security:
- X-API-Key: []
- oauth2:
- user
summary: Update document
tags:
- Documents
delete:
description: Deletes a specific document in your workspace by ID
operationId: deleteDocumentById
parameters:
- name: documentId
required: true
in: path
schema:
type: string
responses:
'200':
description: Deleted document by ID
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentDeleteResponse'
'401':
description: Unauthorized. User is not a member of the workspace.
'404':
description: Not found. May have an incorrect URL path.
'500':
description: Internal server error. Unable to delete specified document.
security:
- X-API-Key: []
- oauth2:
- user
summary: Delete a document by ID
tags:
- Documents
components:
schemas:
DocumentDeleteResponse:
type: object
properties:
requestId:
type: string
example: bce766ea-a4ef-48e5-9da1-d9602bfecf2d
resource:
type: string
example: documents
deleted:
type: boolean
example: true
required:
- deleted
DocumentsData:
type: object
properties:
id:
type: string
description: The unique identifier of the document
example: doc_073D2D49094A4AED991A47B614522579
content:
type: string
description: The content of the document
example: This is the content of the document.
createdAt:
format: date-time
type: string
description: The creation date of the document
example: '2023-01-01T12:00:00.000Z'
updatedAt:
format: date-time
type: string
description: The last updated date of the document
example: '2023-01-02T12:00:00.000Z'
name:
type: string
description: The name of the document
example: My Document
status:
type: string
description: The status of the document
example: active
userId:
type: string
description: The user Id associated with the workspace
example: usr_535B1EC15F5F41EAB1B400E9ED4077B6
projectId:
type: string
description: The ID of the project the document is associated with, if any. Documents created before project association was supported may have this field empty.
example: prj_E8F0457A95B04D87A11F6B1DD6AA2356
appUrl:
type: string
description: The client URL to open the document in the Jasper app. Jasper has no page for a document on its own, so the link opens the project that contains it and selects the document within it. Null when the document does not belong to a project, because there is nowhere in the app to open it.
example: https://app.jasper.ai/canvas/edit/2efa3e90-34ff-4a61-a251-0d8f93ce0be3?activeNode=962e4d4c-ffdc-4c7a-83e3-8f4e715004cf
nullable: true
required:
- id
- content
- name
- status
- userId
- appUrl
DocumentCreateDto:
type: object
properties:
userId:
type: string
description: The ID of the user creating the document
example: user123
content:
type: string
description: The content of the document
example: This is the content of the document.
name:
type: string
description: The name of the document
example: Document Title
status:
type: string
description: The status of the document
example: DRAFT
enum:
- DRAFT
- PUBLISHED
- IN PROGRESS
- IN REVIEW
- COMPLETED
projectId:
type: string
description: The ID of the project to associate the document with. When provided, the document is attached to the project so it appears under that project in Jasper.
example: prj_E8F0457A95B04D87A11F6B1DD6AA2356
required:
- userId
- content
- name
DocumentResponse:
type: object
properties:
requestId:
type: string
example: bce766ea-a4ef-48e5-9da1-d9602bfecf2d
resource:
type: string
example: documents
data:
type: array
items:
$ref: '#/components/schemas/DocumentsData'
DocumentUpdateDto:
type: object
properties:
userId:
type: string
description: The ID of the user updating the document
example: user123
content:
type: string
description: The updated content of the document
example: Updated document content.
name:
type: string
description: The name of the document
example: Document Title
status:
type: string
description: The status of the document
example: DRAFT
enum:
- DRAFT
- PUBLISHED
- IN PROGRESS
- IN REVIEW
- COMPLETED
projectId:
type: string
description: The ID of the project to associate the document with. Pass an empty string to detach the document from its current project.
example: prj_E8F0457A95B04D87A11F6B1DD6AA2356
required:
- userId
- name
securitySchemes:
X-API-Key:
type: apiKey
in: header
name: X-API-Key
description: Workspace authentication using API key tokens in the X-API-Key header.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://api.jasper.ai/oauth2/authorize
tokenUrl: https://api.jasper.ai/oauth2/token
refreshUrl: https://api.jasper.ai/oauth2/token
scopes:
user:read: Read user information
user: Read and write user information
description: User-level authentication using OAuth bearer tokens in the Authorization header.
x-provenance:
method: searched
source: https://developers.jasper.ai/reference
harvested: '2026-10-23'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://developers.jasper.ai/reference/cleanup.md
- https://developers.jasper.ai/reference/command-2.md
- https://developers.jasper.ai/reference/completetemplate-1.md
- https://developers.jasper.ai/reference/createanalysis.md
- https://developers.jasper.ai/reference/createattachment.md
- https://developers.jasper.ai/reference/createcontextsource.md
- https://developers.jasper.ai/reference/createdocument.md
- https://developers.jasper.ai/reference/createproduct.md
- https://developers.jasper.ai/reference/createproject.md
- https://developers.jasper.ai/reference/createtone.md
- https://developers.jasper.ai/reference/decompose-1.md
- https://developers.jasper.ai/reference/deleteanalysis.md
- https://developers.jasper.ai/reference/deletedocumentbyid.md
- https://developers.jasper.ai/reference/deleteknowledgedocument.md
- https://developers.jasper.ai/reference/deleteproduct.md
- https://developers.jasper.ai/reference/deleteproject.md
- https://developers.jasper.ai/reference/deletetone.md
- https://developers.jasper.ai/reference/getallaudiences.md
- https://developers.jasper.ai/reference/getalldocuments.md
- https://developers.jasper.ai/reference/getallproducts.md
- https://developers.jasper.ai/reference/getalltemplates-1.md
- https://developers.jasper.ai/reference/getalltones.md
- https://developers.jasper.ai/reference/getallusers.md
- https://developers.jasper.ai/reference/getanalysis.md
- https://developers.jasper.ai/reference/getaudiencebyid.md
- https://developers.jasper.ai/reference/getcontextsourcebyid.md
- https://developers.jasper.ai/reference/getdocumentbyid.md
- https://developers.jasper.ai/reference/getknowledgedocument.md
- https://developers.jasper.ai/reference/getknowledgedocuments.md
- https://developers.jasper.ai/reference/getproductattributes.md
- https://developers.jasper.ai/reference/getproductbyid.md
- https://developers.jasper.ai/reference/getprojectbyid.md
- https://developers.jasper.ai/reference/getprojects.md
- https://developers.jasper.ai/reference/getrun.md
- https://developers.jasper.ai/reference/getrunclaims.md
- https://developers.jasper.ai/reference/getrunrecommendations.md
- https://developers.jasper.ai/reference/getstyle.md
- https://developers.jasper.ai/reference/getstylebyid.md
- https://developers.jasper.ai/reference/gettaskbyid.md
- https://developers.jasper.ai/reference/gettemplate-1.md
- https://developers.jasper.ai/reference/gettone.md
- https://developers.jasper.ai/reference/gettrends.md
- https://developers.jasper.ai/reference/getuser.md
- https://developers.jasper.ai/reference/listanalyses.md
- https://developers.jasper.ai/reference/listanalysissummaries.md
- https://developers.jasper.ai/reference/listruns.md
- https://developers.jasper.ai/reference/listtasks.md
- https://developers.jasper.ai/reference/packshotcompositing.md
- https://developers.jasper.ai/reference/removebackground.md
- https://developers.jasper.ai/reference/removetext.md
- https://developers.jasper.ai/reference/renderimagetemplate.md
- https://developers.jasper.ai/reference/replacebackground.md
- https://developers.jasper.ai/reference/runtask.md
- https://developers.jasper.ai/reference/runtaskstream.md
- https://developers.jasper.ai/reference/searchknowledge.md
- https://developers.jasper.ai/reference/uncrop.md
- https://developers.jasper.ai/reference/updateanalysis.md
- https://developers.jasper.ai/reference/updatedocument.md
- https://developers.jasper.ai/reference/updateknowledgedocument.md
- https://developers.jasper.ai/reference/updateproduct.md
- https://developers.jasper.ai/reference/updateproject.md
- https://developers.jasper.ai/reference/updatetone.md
- https://developers.jasper.ai/reference/uploadknowledgedocument.md
- https://developers.jasper.ai/reference/upscale.md
- https://developers.jasper.ai/reference/usage-1.md
merge:
pages: 65
deduped: 240
conflicts_kept_first: 0