How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AGNTCY Policy Service API

PolicyService manages policy.

AGNTCY Policy Service API is one of 21 APIs that AGNTCY publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include PolicyService. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, and 2 JSON Schemas.

This API exposes 11 operations across 5 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version v1alpha1.

Requests are made against a single base URL, http://localhost:4000.

11 operations 5 paths 13 schemas 2 DELETE5 GET2 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1alpha1
Base URL
https://schema.oasf.outshift.com/api
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

AGNTCY Policy Service API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (AccessToken). An API key is passed in the header as x-id-api-key (ApiKey). By default, every request must be authenticated.

  • AccessToken — An IAM JWT token issued to a user during an OIDC flow.
  • ApiKey — An IAM Api key.

Paths & Operations 11

Across 5 paths, the API surfaces 11 operations — 2 DELETE, 5 GET, 2 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

PolicyService 11

PolicyService manages policy.

GET
/v1alpha1/policies
List Policies.
PolicyService_ListPolicies 5 params → 200default
POST
/v1alpha1/policies
Create a new Policy.
PolicyService_CreatePolicy body → 200default
GET
/v1alpha1/policies/all/count
Get policies total count.
PolicyService_GetPoliciesCount → 200default
GET
/v1alpha1/policies/{policyId}
Get Policy by id
PolicyService_GetPolicy 1 param → 200default
DELETE
/v1alpha1/policies/{policyId}
Delete an existing Policy.
PolicyService_DeletePolicy 1 param → 200default
PATCH
/v1alpha1/policies/{policyId}
Update a Policy.
PolicyService_UpdatePolicy 1 param body → 200default
GET
/v1alpha1/policies/{policyId}/rules
List Rules.
PolicyService_ListRules 4 params → 200default
POST
/v1alpha1/policies/{policyId}/rules
Create a new Rule.
PolicyService_CreateRule 1 param body → 200default
GET
/v1alpha1/policies/{policyId}/rules/{ruleId}
Get Rule by id
PolicyService_GetRule 2 params → 200default
DELETE
/v1alpha1/policies/{policyId}/rules/{ruleId}
Delete an existing Rule.
PolicyService_DeleteRule 2 params → 200default
PATCH
/v1alpha1/policies/{policyId}/rules/{ruleId}
Update a Rule.
PolicyService_UpdateRule 2 params body → 200default

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are Rule (8 properties), UpdateRuleRequest (7 properties), CreateRuleRequest (6 properties), Policy (6 properties). Each schema is shown below with its type and property counts.

CreateRuleRequest
object
6 properties
UpdatePolicyRequest
object
4 properties
GetPoliciesCountResponse
object
1 property
Task
object
Identity Service Policy Task
5 properties
UpdateRuleRequest
object
7 properties
ListRulesResponse
object
2 properties
GoogleProtobufAny
object
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
1 property
Policy
object
Identity Service Policy.
6 properties 3 required
PagedResponse
object
Pagination response
4 properties
CreatePolicyRequest
object
3 properties
Status
object
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](h…
3 properties
Rule
object
Identity Service Policy Rule
8 properties 4 required
ListPoliciesResponse
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

agntcy-policyservice-api-openapi.yml Raw ↑

Other APIs AGNTCY publishes across the network.

Agent Directory (DIR)
AGNTCY Agents API
AGNTCY App Service API
AGNTCY Auth Service API
AGNTCY Badge Service API
AGNTCY Classes and Objects API
AGNTCY Device Service API
AGNTCY ID Service API
AGNTCY Issuer Service API
AGNTCY JSON Schema API
AGNTCY Sample Data API
AGNTCY Schema API
Where this information came from

This is an independent, third-party profile of AGNTCY Policy Service API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.