Knowledge
Create a knowledge item
Changed onCreate a knowledge item for use in personalizing AI outputs
post/v1/knowledge
Request
- Base URLhttps://api.jasper.ai
- URLhttps://api.jasper.ai/v1/knowledge
- Auth
- API key in header X-API-Key
- or OAuth 2Authorization code: https://api.jasper.ai/oauth2/authorizeToken URL: https://api.jasper.ai/oauth2/token scopes: user
Request body multipart/form-data
Example request
{
"name": "Product Release Monthly Webinar - May 2023",
"file": "jasperbrandvoice.pdf",
"metadata": "{\"NewKey\": \"New Value\", \"AnotherKey\": \"Another Value\"}",
"settings": "{\"appVisibility\": \"visible\", \"autoSummary\": true}",
"summary": "This Knowledge item outlines guidelines for using the Jasper logo",
"tags": [
"tag1",
"tag2"
]
}Response
Created. The new knowledge item was added successfully.
Example response
{
"requestId": "bce766ea-a4ef-48e5-9da1-d9602bfecf2d",
"resource": "knowledge",
"data": {
"name": "Product Release Monthly Webinar - May 2023",
"file": "jasperbrandvoice.pdf",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "kno_2ee766eaa4ef48e59da1d9602bfecf2d",
"createdAt": "2023-09-21T15:38:00.474Z",
"updatedAt": "2023-09-21T15:38:00.474Z",
"processingState": "InProgress",
"tags": [
"tag1",
"tag2"
],
"appUrl": "https://app.jasper.ai/jasper-iq/knowledge-base/kno_2ee766eaa4ef48e59da1d9602bfecf2d",
"url": "https://giving.uchicago.edu"
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info