Get a tool approval proposal
GET
/api/v3/organizations/{organisation}/ai/tool-proposals/{proposalId}
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/tool-proposals/example';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://dashboard.quantcdn.io/api/v3/organizations/example/ai/tool-proposals/example \ --header 'Authorization: Bearer <token>'Returns one of the caller’s own tool approval proposals. QuantGov AI-governance organisations only; any other organisation gets 404. Only the QuantCode PKCE token with the ai:approve scope may call this. Any other token gets 403 with This token cannot decide tool approvals. A proposal that belongs to another user is answered as 404.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
proposalId
required
string
The proposal ID
Responses
Section titled “Responses”The proposal
This token cannot decide tool approvals.
Media typeapplication/json
object
error
string
Example
{ "error": "This token cannot decide tool approvals."}Proposal not found, or the organisation is not a QuantGov AI-governance organisation
