-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip(documentation): Work on mintlify docs
Signed-off-by: Diwank Singh Tomer <[email protected]>
- Loading branch information
Showing
70 changed files
with
8,560 additions
and
1,603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,51 @@ | ||
--- | ||
title: 'Introduction' | ||
description: 'Example section for showcasing API endpoints' | ||
title: Introduction | ||
description: 'Introduction to the Julep REST API' | ||
--- | ||
|
||
<Note> | ||
If you're not looking to build API reference documentation, you can delete | ||
this section by removing the api-reference folder. | ||
</Note> | ||
<CardGroup cols={2}> | ||
<Card | ||
title="Agent Endpoints" | ||
icon="robot" | ||
href="/api-reference/agents/create" | ||
> | ||
Create, update, and manage AI agents | ||
</Card> | ||
<Card | ||
title="Task Endpoints" | ||
icon="list-check" | ||
href="/api-reference/tasks/create" | ||
> | ||
Create and execute AI tasks and workflows | ||
</Card> | ||
<Card | ||
title="Session Endpoints" | ||
icon="comments" | ||
href="/api-reference/sessions/create" | ||
> | ||
Manage conversation sessions and state | ||
</Card> | ||
<Card | ||
title="Tool Endpoints" | ||
icon="plug" | ||
href="/api-reference/tools/register" | ||
> | ||
Register and manage agent tools | ||
</Card> | ||
</CardGroup> | ||
|
||
## Welcome | ||
## Authentication | ||
|
||
There are two ways to build API documentation: [OpenAPI](https://mintlify.com/docs/api-playground/openapi/setup) and [MDX components](https://mintlify.com/docs/api-playground/mdx/configuration). For the starter kit, we are using the following OpenAPI specification. | ||
<Note> | ||
Authentication is done via API keys. | ||
</Note> | ||
|
||
<Card | ||
title="Plant Store Endpoints" | ||
icon="leaf" | ||
href="https://github.com/mintlify/starter/blob/main/api-reference/openapi.json" | ||
> | ||
View the OpenAPI specification file | ||
</Card> | ||
API keys are used to authenticate requests to the Julep API. They can be created in the [Julep dashboard](https://dashboard.julep.ai). | ||
|
||
## Authentication | ||
To create an API key, go to the Julep dashboard and navigate to the "API Keys" section. | ||
|
||
All API endpoints are authenticated using Bearer tokens and picked up from the specification file. | ||
To use an API key, include it in the `Authorization` header of your request. | ||
|
||
```json | ||
"security": [ | ||
{ | ||
"bearerAuth": [] | ||
} | ||
] | ||
``` | ||
Authorization: Bearer YOUR_API_KEY | ||
``` |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.