Records that a person approved the SHA-256 of a folder's flagged agent configuration, so sessions of the tools that read it may start until one character of it changes.
POST
/v1/m/sessions/workspaces/{ref}/project-config/approve
const url = 'https://example.com/v1/m/sessions/workspaces/example/project-config/approve';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"sha256":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/m/sessions/workspaces/example/project-config/approve \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "sha256": "example" }'Records that a person approved the SHA-256 of a folder’s flagged agent configuration, so sessions of the tools that read it may start until one character of it changes.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” ref
required
string
Path parameter ref.
Header Parameters
Section titled “ Header Parameters ” X-Olivares-Tenant
string format: uuid
Target tenant id; required when the principal can act in more than one tenant.
Request Body required
Section titled “ Request Body required ” Media type application/json
object
sha256
required
SHA-256 of the flagged project agent configuration reviewed, as the report or the refused start shows it.
string
Example generated
{ "sha256": "example"}Responses
Section titled “ Responses ”Who approved which SHA-256, and when
Media type application/json
object
actor
required
string
at
required
string format: date-time
sha256
required
string
Example generated
{ "actor": "example", "at": "2026-04-15T12:00:00Z", "sha256": "example"}Bad request
Media type application/json
object
Example generated
{}Unauthenticated
Media type application/json
object
Example generated
{}Forbidden
Media type application/json
object
Example generated
{}Not found
Media type application/json
object
Example generated
{}Conflict / setup required
Media type application/json
object
Example generated
{}Rate limited
Media type application/json
object
Example generated
{}