Skip to main content
PUT
/
api
/
v1
/
projects
/
{project_id}
/
sources
/
{source_id}
Update Source
curl --request PUT \
  --url https://api.example.com/api/v1/projects/{project_id}/sources/{source_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Type": "IMAGE",
  "Description": "<string>",
  "Source": {
    "Type": "TEXT",
    "Source": "<string>"
  },
  "IngestionStatus": "PENDING"
}
'
{
  "data": {},
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required
source_id
string
required

Body

application/json
Type
enum<string> | null
Available options:
IMAGE,
DOCUMENT,
WEBSITE,
TEXT
Description
string | null
Source
Source · object
IngestionStatus
enum<string> | null
Available options:
PENDING,
SUCCESS,
FAILED

Response

Successful Response

success
boolean
required
data
unknown