Publish a project through the API
The API interface lets another application send inputs to a StackAI workflow and receive its outputs. Use it when the workflow must run from an existing application or service.
Before you start
Have a configured workflow and an API credential authorized to run it.
Read the generated request
Open the API interface and inspect its generated request and field mappings.

Use your project's endpoint and input identifiers, and keep authentication credentials private.
Send a request
Run the request from the API panel and inspect the response.

Confirm the returned data matches the expected output structure.
Find its execution
For a request made by your application, locate the corresponding execution in Analytics.

Use its time and input to distinguish it from other runs.
Inspect input and output
Open Run Details and expand the input and output.

Compare the received input and returned result with what your application sent and expects to consume.
Important behavior
Use the endpoint and input identifiers generated for your project. Request fields must match the workflow’s inputs.
Keep API credentials in secure storage. Do not expose them in public website code.
Continue
Last updated
Was this helpful?

