Hey, human!
This is what your agent sees atdocs.example.com/endpoint/patch-api-v1-projects-slug-usecases-usecaseslug
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 use case
Update an existing usecas. Send only the fields you want to change.
What you provide
- Titleoptional
- Descriptionoptional
- Iconoptional
- Contentoptional: Max 16000 characters.
- Docs bodyoptional: Max 16000 characters.
- Publicoptional
- As tooloptional
Do this with AI
I want to update a use case. Use the Restless API. Read the reference for this operation and follow it exactly: https://build.restless.ai/endpoint/patch-api-v1-projects-slug-usecases-usecaseslug.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}/usecases/{usecaseSlug}curl --request PATCH \
--url https://app.restless.ai/api/v1/projects/slug/usecases/usecaseSlug \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"title": "title",
"description": "description",
"icon": "icon",
"content": "content",
"docsBody": "docsBody",
"public": true,
"asTool": true
}
'Path parameters
slugstringrequiredProject slug.
usecaseSlugstringrequiredBody
application/jsontitlestringdescriptionstringiconstringcontentstringMax 16000 characters.
max length 16000
docsBodystringMax 16000 characters.
max length 16000
publicbooleantrue
asToolbooleantrue