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

Aleph Alpha Usecases API

**Usecases (Applications)**Usecases are full-stack end to end AI applications. The application exposes the necessary REST endpoints soAI usecases can be consumed and, optionally, a front-end (UI) to interact with the implemented workflows.Once you have finished the usecase implementation and have published a Docker image to a registry, it is time to deploy the usecase!The endpoints below enable you to create a usecase by providing a name and a description, list all created usecases, retrieve a single usecase by id, and update them.Also, most importantly, the API enables you to deploy a created usecase. The deployment of usecases requires some more technical information.**Deployment**We rely on [Kubernetes (K8s)](https://kubernetes.io/docs/home/) to deploy the usecases, which means that they are [Pods](https://kubernetes.io/docs/concepts/workloads/pods/) running in a K8s cluster.To deploy usecases you must provide: the registry where the usecase image is located, the image tag (version), the environment variables you wish to inject into the usecase and other K8s configurations parameters, such as `imagePullSecrets`, `autoscaling`, `ingress`, and resource `requests` and `limits` for CPU and memory required to run the usecase. A complete specification is provided further below.By default, a usecase is created with the below resources configuration:```yamlresources: requests: cpu: 250m memory: 500Mi limits: cpu: 500m memory: 1Gi```The API also provides endpoints to track the deployment status to assist in any troubleshooting if required. To retrieve the deployment status, use the endpoints to get a usecase by its ID.**Consuming usecases**Once the deployment is up and running, now it's time to actually consume it! _1. (Optional) Usecase Ingress_If the usecase was deployed with the ingress enabled, the service can be accessed at the URL provided in the deployment status. _Note: this requires that ingress creation is enabled in the PhariaOS API configuration; otherwise, the deployment request will be rejected.__2. Applications Proxy Server_The PhariaOS Applications Proxy Server is available to fulfill the usecases consumption. The applications proxy can be accessed at https://pharia-os-applications.product.pharia.com.Requests to the proxy are redirected to the usecases by providing the usecase (application) UUID as a URL path parameter, which is **required**.> The incoming request endpoint to the proxy server is the redirected endpoint to the usecase: > `https://pharia-os-applications.product.pharia.com/{applicationId}/summarization -> $internal_use_case_URL/summarization`**Expected Responses**A valid request and resource path will return the expected resource in the response.If the request path does not include the usecase (application) UUID, one of two responses is expected:* If the request path contains only a single part, the response is `BadRequest (400)`.* If the request path contains multiple parts, the response is `BadGateway (502)`, as the proxy is unable to validate our route the request to any usecase (application).**Examples**1. Sending a `POST` request to the proxy server. The request is targeted to the usecase `execute` endpoint.```shcurl --request POST \ --url https://pharia-os-applications.product.pharia.com/{applicationId}/execute \ --header 'Content-Type: application/json' \ --data '{ "question": "hello" }'```2. Sending a `GET` request to the proxy server. The request is targeted to the usecase `health` endpoint.```shcurl --request GET \ --url https://pharia-os-applications.product.pharia.com/{applicationId}/health```3. Sending a `GET` request for the user interface. The request is targeted to the usecase `ui` endpoint.```shcurl --request GET \ --url https://pharia-os-applications.product.pharia.com/{applicationId}/ui/assets/usecase.js```**Undeployment**Once the usecase has fullfilled the purposes and no longer needs to run and consume resources in your K8s cluster, the API provides an endpoint to undeploy the usecase.**Deleting usecases**A usecase may be deleted on request only if it is not currently **active** (that is: deployed, deploying, or undeploying). Deletion cleans the usecase and all associated records from the database.

Aleph Alpha Usecases API is one of 37 APIs that Aleph Alpha publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Use Cases. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 10 operations across 4 paths, and defines 30 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

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

10 operations 4 paths 30 schemas 2 DELETE4 GET1 PATCH2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.aleph-alpha.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Aleph Alpha Usecases API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth).

Paths & Operations 10

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

usecases 10

Usecases (Applications) Usecases are full-stack end to end AI applications. The application exposes the necessary REST endpoints so AI usecases can be consumed and, optionally, a…

GET
/usecases
List all usecases
3 params → 200400401403500
POST
/usecases
Create a new usecase
body → 201400401403404500
GET
/usecases/{usecaseID}
Get usecase by ID
1 param → 200400401403404500
PUT
/usecases/{usecaseID}
Update a usecase
1 param body → 200400401403404500
DELETE
/usecases/{usecaseID}
Delete a usecase
1 param → 204400401403404422500
PATCH
/usecases/{usecaseID}
Patch a usecase
1 param body → 204400401403404500
GET
/usecases/{usecaseID}/deployments
List all deployments of a usecase
4 params → 200400401403404500
POST
/usecases/{usecaseID}/deployments
Deploy a usecase
1 param body → 202400401403404422500
DELETE
/usecases/{usecaseID}/deployments
Undeploy a usecase
1 param → 202400401403404422500
GET
/usecases/{usecaseID}/deployments/{deploymentID}
Get a usecase deployment by ID
2 params → 200400401403404500

Schemas 30

The contract defines 30 schemas that model the data the API accepts and returns. The most detailed are dtos.UsecaseOutput (8 properties), dtos.UsecaseConfig (8 properties), dtos.ProblemDetail400 (6 properties), dtos.ProblemDetail422 (6 properties). Each schema is shown below with its type and property counts.

dtos.ProblemDetail403
object
6 properties
dtos.Ingress
object
1 property
dtos.ProblemDetail500
object
6 properties
dtos.Availability
object
1 property
dtos.ProblemDetail404
object
6 properties
dtos.Autoscaling
object
4 properties
dtos.CreateUsecaseRequest
object
5 properties 2 required
dtos.ServiceMonitor
object
3 properties
dtos.ReferenceEnvVar
object
2 properties 2 required
dtos.ResourceGpu
object
2 properties
dtos.Metric
object
2 properties
dtos.UsecaseDeploymentCreatedOutput
object
1 property
dtos.ProblemDetail401
object
6 properties
dtos.UsecaseConfig
object
8 properties 1 required
dtos.ResourceRequest
object
2 properties
dtos.UsecaseDeploymentPaginatedResult
object
4 properties
dtos.PatchUsecaseRequest
object
5 properties
dtos.UsecasePaginatedResult
object
4 properties 4 required
dtos.Resources
object
2 properties
dtos.Probe
object
1 property 1 required
dtos.UsecaseDeploymentOutput
object
5 properties 5 required
dtos.EnvRef
object
2 properties 2 required
dtos.Image
object
3 properties 3 required
dtos.UpdateUsecaseRequest
object
5 properties 2 required
dtos.ResourceLimit
object
3 properties
dtos.ProblemDetail422
object
6 properties
dtos.ProblemDetail400
object
6 properties
deployment.Status
string
dtos.DeployUsecaseRequest
object
1 property 1 required
dtos.UsecaseOutput
object
8 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

aleph-alpha-usecases-api-openapi.yml Raw ↑

Other APIs Aleph Alpha publishes across the network.

Aleph Alpha API description API
Aleph Alpha Application Traces API
Aleph Alpha Benchmark Executions API
Aleph Alpha Benchmarks API
Aleph Alpha Cluster API
Aleph Alpha Collection API
Aleph Alpha Connectors API
Aleph Alpha Conversations API
Aleph Alpha Datasets API
Aleph Alpha Document API
Aleph Alpha Downloads API
Aleph Alpha Evaluation Datasets API
Where this information came from

This is an independent, third-party profile of Aleph Alpha Usecases 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.