Hey, human!
This is what your agent sees atdocs.example.com/endpoint/patch-api-v1-projects-slug-data-sources
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Update a data source
Update an existing data-source. Send only the fields you want to change.
What you provide
- Site url: Public URL of the live docs site. Empty clears it and removes the portal header link.
Do this with AI
I want to update a data source. Use the Restless API. Read the reference for this operation and follow it exactly: https://build.restless.ai/endpoint/patch-api-v1-projects-slug-data-sources.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.
Paste this into Claude, Cursor, or any AI assistant and it will do it for you.
https://app.restless.ai/api/v1/projects/{slug}/data-sourcescurl --request PATCH \
--url 'https://app.restless.ai/api/v1/projects/slug/data-sources?sourceId=sourceId' \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"siteUrl": "siteUrl"
}
'Path parameters
slugstringrequiredProject slug.
Query parameters
sourceIdstringrequiredBody
application/jsonrequiredsiteUrlstringrequiredPublic URL of the live docs site. Empty clears it and removes the portal header link.