Skip to content

Commit

Permalink
feat: add agent api docs (#463)
Browse files Browse the repository at this point in the history
## Why?

This pull request adds in the setup to work around the agent API docs
needed for the API documentation work. Work is currently ongoing on this
to refine it with Bruno.



## Contribution checklist?

- [x] The commit messages are detailed
- [x] The `build` command runs locally
- [x] Assets or static content are linked and stored in the project
- [x] Document filename is named after the slug
- [x] You've reviewed spelling using a grammar checker
- [x] For documentation, guides or references, you've tested the
commands and steps
- [x] You've done enough research before writing

## Security checklist?

- [x] Sensitive data has been identified and is being protected properly
- [x] Injection has been prevented (parameterized queries, no eval or
system calls)
- [x] The Components are escaping output (to prevent XSS)
  • Loading branch information
tobySolutions authored Jan 24, 2025
1 parent 1166a0e commit 86ba55e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/content/docs/ai-agents/Agents-APIs/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
order: 6
title: Agent APIs
date: 2025-01-24
desc: AI agent APIs from Fleek.
---

# Fleek AI Agent APIs

Deploying AI agents on Fleek has never been a hassle and you can now deploy from within your applications and projects as well. By exposing these APIs, Fleek enables users to seamlessly integrate AI agent management capabilities into their applications.

## Prerequisites and setup

To follow the guide below, you need to ensure that you have a Fleek account. You can sign up for one if you don’t already have one at app.fleek.xyz.

**API Base Endpoint**: https://api.fleek.xyz/api/v1

:::note
You can use the Bearer token generated from signing in to your account to authenticate the request to get your API Token [here](https://api.fleek.xyz/api-docs/openapi.json#tag/iamtokens/POST/api/v1/tokens). We're working on surfacing this on our UI.
:::

## Using the Fleek agent APIs

You can find the API documentation [here](https://api.fleek.xyz/api-docs/openapi.json). With these APIs, you can:

- Fetch an agent’s details
- Create agents
- Get an agent’s status (active or inactive)
- View your created agents
- Delete agents
- Update agents
- Get agent logs
- Start an agent
- Stop an agent

0 comments on commit 86ba55e

Please sign in to comment.