← Home

The Factory 42 API

Welcome, builder. This page is your launchpad to the Factory 42 API for Private AI. For interactive docs, head to the OpenAPI Reference. You’ll need an API Key and a valid JWT.

OpenAPI Reference openapi.json openapi.yaml

How to call services

  1. Open API Reference and click Authorize.
  2. Enter your API Key and your JWT as Bearer <token>.
  3. Select the correct server, e.g. https://api.stulle.ai.
  4. Pick an endpoint → Try it out → Supply parameters and request body, if required → Execute.

cURL example

curl -X GET 'https://api.stulle.ai/v1/gateways'
  -H 'accept: application/json'
  -H 'X-API-Key: <YOUR_API_KEY>'
  -H 'Authorization: Bearer <YOUR_JWT>'

Some endpoints also support server-to-server authentication via X-API-Key only. Endpoints that require user context additionally expect a valid Bearer token.

Useful links