Skip to content

Commit

Permalink
update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oxaronick committed Apr 1, 2024
1 parent db62e80 commit bb622de
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ Archyve takes this concern away from chat UIs and other LLM-based applications,

Archyve's API can be access under `/v1`. Resources include:

- `/documents`
- list documents
- `/search?q=<query>`
- search documents
- returns a list of documents with URL and distance (score)
- `/collections`
- list collections (of documents)
- `/collections/:id`
- get data on one collection
- `/collections/:id/search?q=<query>`
- search a collection
- returns a list of document chunks with URL and distance
- `/chunks/:id`
- retrieve a chunk, including its content

OpenAPI spec coming soon.

Expand Down

0 comments on commit bb622de

Please sign in to comment.