Skip to content

Commit 9e74991

Browse files
Docs: Add admonition for automations
Adds an admonition for automations running against a specific build.
1 parent 184cc3d commit 9e74991

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/how-to-build-with-promptql/with-automation.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,16 @@ pre-loaded some testing values, but you can grab your own PromptQL API key from
130130
`input` values to simulate real-world scenarios. This makes it easy to validate your integration from any external
131131
system.
132132

133+
:::info Automations can be run against a specific build
134+
135+
You can append the endpoint with a `build_id` query parameter whose value is the UUID for a particular build.
136+
137+
```plaintext title="For example:"
138+
https://promptql.ddn.hasura.app/playground/automations/v1/box_office_analyzer/run?project_id=<project_id>&build_id=<build_id>
139+
```
140+
141+
:::
142+
133143
## Best practices
134144

135145
1. **Start simple** - Begin with a straightforward use case to learn the process

0 commit comments

Comments
 (0)