Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Endor Labs Policies API

Governance rules over resources.

Endor Labs Policies API is one of 7 APIs that Endor Labs publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Policies. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 5 operations across 2 paths, and defines 6 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against a single base URL, https://api.endorlabs.com/v1.

5 operations 2 paths 6 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://api.endorlabs.com/v1
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Endor Labs Policies API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer access token obtained from POST /v1/auth/api-key by exchanging an Endor Labs API key and secret.

Paths & Operations 5

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

Policies 5

Governance rules over resources.

GET
/namespaces/{namespace}/policies
List Policy resources in a namespace.
listPolicies 5 params → 200401
POST
/namespaces/{namespace}/policies
Create a Policy resource in a namespace.
createPolicy 1 param body → 200401
GET
/namespaces/{namespace}/policies/{uuid}
Get a Policy resource by UUID.
getPolicy 2 params → 200404
PATCH
/namespaces/{namespace}/policies/{uuid}
Update a Policy resource by UUID.
updatePolicy 2 params body → 200404
DELETE
/namespaces/{namespace}/policies/{uuid}
Delete a Policy resource by UUID.
deletePolicy 2 params → 200404

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are ResourceMeta (6 properties), Policy (4 properties), Error (2 properties), ListResponse (2 properties). Each schema is shown below with its type and property counts.

ListResponse
object
2 properties
TenantMeta
object
1 property
ResourceMeta
object
6 properties
Policy
object
4 properties
Error
object
2 properties
PolicyList
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

endor-labs-policies-api-openapi.yml Raw ↑

Other APIs Endor Labs publishes across the network.

Endor Labs Authentication API
Endor Labs Findings API
Endor Labs Namespaces API
Endor Labs Packages API
Endor Labs Projects API
Endor Labs Scan Results API