Generated by API Evangelist
Written by API Evangelist tooling for Aleph Alpha's API. It is a proposal applied on top of the contract, not a document Aleph Alpha publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for PhariaStudio Events API
version: 1.0.0
extends: openapi/aleph-alpha-events-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/projects/{project_id}/traces/{trace_id}/spans/{span_id}/events'].get
update:
x-apievangelist-phrasing:
intent: List events in a span
effect: read
questions:
- What log events happened inside a trace span?
- Can I page through a span's events?
instructions:
- text: List events for span {span_id} in trace {trace_id}, project {project_id}.
slots:
span_id: path.span_id
trace_id: path.trace_id
project_id: path.project_id
- text: Show page {page} of span {span_id}'s events in trace {trace_id}, project {project_id}.
slots:
page: query.page
span_id: path.span_id
trace_id: path.trace_id
project_id: path.project_id
method: generated
generated: '2026-11-22'
- target: $.paths['/projects/{project_id}/traces/{trace_id}/spans/{span_id}/events'].post
update:
x-apievangelist-phrasing:
intent: Add an event to a span
effect: write
questions:
- How do I record a log or exception inside a span?
- Can I create an event in a span that is already closed?
instructions:
- text: Add event {name} with message {message} to span {span_id} in trace {trace_id}, project {project_id}.
slots:
name: requestBody.name
message: requestBody.message
span_id: path.span_id
trace_id: path.trace_id
project_id: path.project_id
- text: Record event {name} in span {span_id} of trace {trace_id} (project {project_id}) at {timestamp}.
slots:
name: requestBody.name
span_id: path.span_id
trace_id: path.trace_id
project_id: path.project_id
timestamp: requestBody.timestamp
method: generated
generated: '2026-11-22'
- target: $.paths['/projects/{project_id}/traces/{trace_id}/spans/{span_id}/events/{event_id}'].get
update:
x-apievangelist-phrasing:
intent: Get one event in a span
effect: read
questions:
- What exactly did a specific span event say?
- Can I fetch a single event by its ID?
instructions:
- text: Get event {event_id} in span {span_id}, trace {trace_id}, project {project_id}.
slots:
event_id: path.event_id
span_id: path.span_id
trace_id: path.trace_id
project_id: path.project_id
- text: Show the details of span event {event_id} for trace {trace_id}, span {span_id}, project {project_id}.
slots:
event_id: path.event_id
trace_id: path.trace_id
span_id: path.span_id
project_id: path.project_id
method: generated
generated: '2026-11-22'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.