Print Hive Feature Flags API
Feature flag evaluation endpoints
Feature flag evaluation endpoints
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/printhiv3d-com:printhiv3d-com-feature-flags-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Print Hive API Documentation Feature Flags API
description: 'REST API for the Print Hive print farm management platform: printers, print jobs, models, materials, inventory, smart queue, and integrations.'
version: 1.0.0
servers:
- url: https://api.printhiv3d.com
description: Production
tags:
- name: Feature Flags
description: Feature flag evaluation endpoints
paths:
/v1/feature-flags:
get:
summary: Get evaluated feature flags
tags:
- Feature Flags
description: Returns all feature flags with their evaluated enabled/disabled status for the authenticated user and specified organization
parameters:
- schema:
type: boolean
default: false
in: query
name: refresh
required: false
- schema:
type: string
format: uuid
in: query
name: organizationId
required: true
description: The organization ID to evaluate feature flags for
- schema:
type: string
enum:
- development
- staging
- production
default: production
in: query
name: environment
required: false
description: The environment context for rule evaluation
responses:
'200':
description: Feature flags evaluated successfully
content:
application/json:
schema:
type: object
description: Feature flags evaluated successfully
properties:
flags:
type: object
additionalProperties:
type: boolean
description: Map of feature flag names to their enabled status
'400':
description: Bad request - missing required parameters
content:
application/json:
schema:
type: object
description: Bad request - missing required parameters
properties:
error:
type: string
message:
type: string
'401':
description: Unauthorized - invalid or missing authentication
content:
application/json:
schema:
type: object
description: Unauthorized - invalid or missing authentication
properties:
error:
type: string
message:
type: string
'403':
description: Forbidden - user is not a member of the specified organization
content:
application/json:
schema:
type: object
description: Forbidden - user is not a member of the specified organization
properties:
error:
type: string
message:
type: string
'500':
description: Internal server error
content:
application/json:
schema:
type: object
description: Internal server error
properties:
error:
type: string
message:
type: string
requestId:
type: string
operationId: getV1FeatureFlags
x-operation-id-source: derived
/v1/feature-flags/host:
get:
summary: Get evaluated feature flags for a host (API key auth)
tags:
- Feature Flags
description: Returns all feature flags evaluated for the organization associated with the API key. No user-specific rules are applied.
parameters:
- schema:
type: string
enum:
- development
- staging
- production
default: production
in: query
name: environment
required: false
description: The environment context for rule evaluation
responses:
'200':
description: Feature flags evaluated successfully
content:
application/json:
schema:
type: object
description: Feature flags evaluated successfully
properties:
flags:
type: object
additionalProperties:
type: boolean
description: Map of feature flag names to their enabled status
'401':
description: Unauthorized - invalid or missing API key
content:
application/json:
schema:
type: object
description: Unauthorized - invalid or missing API key
properties:
error:
type: string
message:
type: string
'500':
description: Internal server error
content:
application/json:
schema:
type: object
description: Internal server error
properties:
error:
type: string
message:
type: string
requestId:
type: string
operationId: getV1FeatureFlagsHost
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
apiKeyAuth:
type: apiKey
in: header
name: x-api-key
apiKey:
type: apiKey
in: header
name: x-api-key