Lists the repo-resident agent configuration of a registered folder that runs programs or redirects traffic, with the SHA-256 of that flagged part and whether a person approved it; the files are read and never executed.
GET
/v1/m/sessions/workspaces/{ref}/project-config
const url = 'https://example.com/v1/m/sessions/workspaces/example/project-config';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/m/sessions/workspaces/example/project-config \ --header 'Authorization: Bearer <token>'Lists the repo-resident agent configuration of a registered folder that runs programs or redirects traffic, with the SHA-256 of that flagged part and whether a person approved it; the files are read and never executed.
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.
Responses
Section titled “ Responses ”Flagged repo-resident agent configuration of the folder, the SHA-256 that covers it and its approval
Media type application/json
object
approval
object
actor
required
string
at
required
string format: date-time
sha256
required
string
approved
boolean
files
Array<object>
object
file
string
flagged
Flagged keys by path with their values; URL credentials are masked. Read, never executed.
object
unreadable
Why the file could not be read as the tool’s format; it counts as flagged.
string
sha256
Empty when nothing is flagged.
string
workspace_ref
string
Example generated
{ "approval": { "actor": "example", "at": "2026-04-15T12:00:00Z", "sha256": "example" }, "approved": true, "files": [ { "file": "example", "flagged": {}, "unreadable": "example" } ], "sha256": "example", "workspace_ref": "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
{}