Records (or replaces) a provider's GPAI posture.
PUT
/v1/m/models/gpai-posture
const url = 'https://example.com/v1/m/models/gpai-posture';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"attested_at":"example","attested_by":"example","cop_signatory":true,"copyright_policy":true,"downstream_info":true,"id":"example","note":"example","provider_ref":"example","safety_report":true,"systemic_risk":true,"technical_docs":true,"training_data_summary":true,"verification_method":"example","verified":true}'};
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/v1/m/models/gpai-posture \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "attested_at": "example", "attested_by": "example", "cop_signatory": true, "copyright_policy": true, "downstream_info": true, "id": "example", "note": "example", "provider_ref": "example", "safety_report": true, "systemic_risk": true, "technical_docs": true, "training_data_summary": true, "verification_method": "example", "verified": true }'Records (or replaces) a provider’s GPAI posture. It is an upsert keyed by provider_ref: one posture per provider per tenant.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”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
attested_at
Accepted by the reused DTO; the server timestamp is authoritative.
string
attested_by
Accepted by the reused DTO; the authenticated actor is authoritative.
string
cop_signatory
boolean
copyright_policy
boolean
downstream_info
boolean
id
string
note
string
provider_ref
required
string
safety_report
boolean
systemic_risk
boolean
technical_docs
boolean
training_data_summary
boolean
verification_method
string
verified
boolean
Example generated
{ "attested_at": "example", "attested_by": "example", "cop_signatory": true, "copyright_policy": true, "downstream_info": true, "id": "example", "note": "example", "provider_ref": "example", "safety_report": true, "systemic_risk": true, "technical_docs": true, "training_data_summary": true, "verification_method": "example", "verified": true}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}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
{}