When this happens
The path is valid (the route exists) but the specific resource you referenced does not exist — or exists in a different tenant and is therefore invisible to your credential. Common cases:- A policy / rule / API key UUID that has been deleted.
- A policy slug that does not exist in your tenant.
- A path constructed from stale data (e.g. a deleted tenant ID).
Example response
Tenant isolation note
Agnes deliberately collapses cross-tenant lookups into 404s so the API does not leak the existence of resources owned by other tenants. If you are convinced the resource exists, double-check that you are calling with the right tenant’s API key.How to fix
- Confirm the ID / slug you sent matches a real resource (list the collection or check the dashboard).
- Confirm you are using a key from the owning tenant.
- If a resource was deleted intentionally, update the caller to stop referencing it.
SDK behaviour
SDKs do not retry 404s.
Related
- Pagination — list a collection to confirm the ID exists.