Rescan source
curl --request POST \
--url https://woes.dev/api/v1/sources/{sourceId}/rescan \
--header 'Authorization: Bearer <token>'const url = 'https://woes.dev/api/v1/sources/{sourceId}/rescan';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://woes.dev/api/v1/sources/{sourceId}/rescan"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://woes.dev/api/v1/sources/{sourceId}/rescan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"source": {
"object": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"publicDocs": {
"enabled": true,
"published": true,
"slug": "<string>",
"url": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inputUrl": "<string>",
"error": "<string>",
"auth": {
"configured": true,
"hasSecret": true,
"lastError": "<string>",
"lastVerifiedAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"type": "<string>"
}
},
"counts": {
"chunks": 123,
"documents": 123,
"endpoints": 123
},
"documents": [
{
"id": "<string>",
"kind": "<string>",
"title": "<string>"
}
],
"endpoints": [
{
"id": "<string>",
"method": "<string>",
"path": "<string>"
}
]
}{
"code": "unauthorized",
"error": "A valid workspace API key is required."
}{
"code": "insufficient_scope",
"error": "This API key is missing the required scope."
}{
"code": "not_found",
"error": "Record not found."
}{
"code": "conflict",
"error": "A record with this identifier already exists."
}{
"code": "rate_limited",
"error": "Too many API requests. Slow down and try again shortly."
}{
"code": "internal_error",
"error": "The API request could not be completed."
}Rescan source
Re-ingests a URL-backed source. Pasted/manual sources are not rescannable through this endpoint.
POST
https://woes.dev
/
api
/
v1
/
sources
/
{sourceId}
/
rescan
Rescan source
curl --request POST \
--url https://woes.dev/api/v1/sources/{sourceId}/rescan \
--header 'Authorization: Bearer <token>'const url = 'https://woes.dev/api/v1/sources/{sourceId}/rescan';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://woes.dev/api/v1/sources/{sourceId}/rescan"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://woes.dev/api/v1/sources/{sourceId}/rescan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"source": {
"object": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"publicDocs": {
"enabled": true,
"published": true,
"slug": "<string>",
"url": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inputUrl": "<string>",
"error": "<string>",
"auth": {
"configured": true,
"hasSecret": true,
"lastError": "<string>",
"lastVerifiedAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"type": "<string>"
}
},
"counts": {
"chunks": 123,
"documents": 123,
"endpoints": 123
},
"documents": [
{
"id": "<string>",
"kind": "<string>",
"title": "<string>"
}
],
"endpoints": [
{
"id": "<string>",
"method": "<string>",
"path": "<string>"
}
]
}{
"code": "unauthorized",
"error": "A valid workspace API key is required."
}{
"code": "insufficient_scope",
"error": "This API key is missing the required scope."
}{
"code": "not_found",
"error": "Record not found."
}{
"code": "conflict",
"error": "A record with this identifier already exists."
}{
"code": "rate_limited",
"error": "Too many API requests. Slow down and try again shortly."
}{
"code": "internal_error",
"error": "The API request could not be completed."
}Authorizations
Workspace API key that starts with woesk_. Paste your own key into the docs playground; never expose it in browser code.
Path Parameters
Workspace API source id.
Response
Source rescanned.
Hide child attributes
Hide child attributes
Allowed value:
"source"Available options:
openapi, json, url, website, text, graphql, postman, asyncapi, grpc, soap, github, notion, confluence, hubspot Available options:
pending, processing, ready, failed Last modified on July 4, 2026
Was this page helpful?
⌘I
