Agent API (AI & Automation) Site & Visibility
List HTTP redirects
GET
/agent/v1/redirects Lists all recorded HTTP redirect rules for the site. Requires site:read scope and unrestricted allowedPostTypes.
Authentication
- Bearer token
BearerApiKeyScoped Agent API key (
Authorization: Bearer ocms_...). Human JWTs and browser cookies are rejected on the Agent Plane.
Responses
-
200 Redirect rules.
application/json
-
redirectsarray of object
-
-
403 Error response.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-