Skip to content

Commit

Permalink
Updated Rest API home page (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jverre authored Feb 1, 2025
1 parent 1e9170c commit 4eadcf3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/opik-backend/src/main/resources/openapi_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ info :
}
```
The full payload would therefore look like:
```
curl -X GET 'https://www.comet.com/opik/api/v1/private/projects' \
-H 'Accept: application/json' \
-H 'Comet-Workspace: <your-workspace-name>' \
-H 'authorization: <your-api-key>'
```
Do take note here that the authorization header value does not include the `Bearer ` prefix. To switch to using the Opik Cloud in the documentation, you can
click on the edit button displayed when hovering over the `Base URL` displayed on the right hand side of the docs.
Expand Down
9 changes: 9 additions & 0 deletions apps/opik-documentation/documentation/rest_api/opik.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ info:
}
```
The full payload would therefore look like:
```
curl -X GET 'https://www.comet.com/opik/api/v1/private/projects' \
-H 'Accept: application/json' \
-H 'Comet-Workspace: <your-workspace-name>' \
-H 'authorization: <your-api-key>'
```
Do take note here that the authorization header value does not include the `Bearer ` prefix. To switch to using the Opik Cloud in the documentation, you can
click on the edit button displayed when hovering over the `Base URL` displayed on the right hand side of the docs.
contact:
Expand Down

0 comments on commit 4eadcf3

Please sign in to comment.