Get the default policy
GET
The current default policy config and its version, for the whole workspace or, with coding_repository_id, for one repository. Returns 404 when no default is set for that scope. Requires the coding:policy:read scope.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
coding_repository_id?|nullRequest fulfilled, document follows
application/json- response
coding_repository_id?|nullconfig*updated_at*stringFormat
date-timeversion*integercurl -X GET 'https://api.syndai.ai/api/v1/external/coding/policy/defaults'Example Response
{ "coding_repository_id": "0d18edb4-5201-4374-8af8-14fdbf761813", "config": {}, "updated_at": "2019-08-24T14:15:22Z", "version": 0}