Skip to content

Commit

Permalink
Adding trigger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
htahir1 committed Jun 26, 2024
1 parent 1a4fac6 commit b5c0114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The above set of REST calls means that you can only trigger a pipeline that has
## A worked example

{% hint style="info" %}
Learn how to get a bearer token for the curl commands [here](../../reference/api-reference.md#using-a-bearer-token-to-access-the-api-programatically).
Learn how to get a bearer token for the curl commands [here](../../reference/api-reference.md#using-a-bearer-token-to-access-the-api-programmatically).
{% endhint %}

Here is an example. Let's say would we like to re-run a pipeline called `training`. We first query the `/pipelines` endpoint:
Expand Down
4 changes: 2 additions & 2 deletions docs/book/reference/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ In the local case (i.e. using `zenml up`, the docs are available on `http://127.

![ZenML API Redoc](../.gitbook/assets/zenml_api_redoc.png)

## Using a bearer token to access the API programatically
## Using a bearer token to access the API programmatically

If you are using the ZenML server API using the above pages, it is enough to be logged in to your ZenML
account in the same browser session. However, in order to do this programatically, the following steps
account in the same browser session. However, in order to do this programmatically, the following steps
need to be followed:

1. Create a [service account](../how-to/connecting-to-zenml/connect-with-a-service-account.md):
Expand Down

0 comments on commit b5c0114

Please sign in to comment.