/api/v1/admin/embeddings (PUT)
PUT
/api/v1/admin/embeddings
const url = 'https://example.com/api/v1/admin/embeddings';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"source":"provider"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/admin/embeddings \ --header 'Content-Type: application/json' \ --data '{ "source": "provider" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
source
required
string
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
Example
{ "source": "provider", "paused": { "reason": "manual" }}