diff --git a/docs/basics/endpoints.mdx b/docs/basics/endpoints.mdx index a88e7de..572bd07 100644 --- a/docs/basics/endpoints.mdx +++ b/docs/basics/endpoints.mdx @@ -5,7 +5,7 @@ description: Volvox.Apollo API Endpoints For You slug: /endpoints --- -# Endpoints +# Endpointss We expose **public** endpoints that allow you to easily integrate into your application. ## Analyze Endpoint @@ -31,4 +31,13 @@ If you wish to only have select models be returned you can add ```json modelNames: ["", ""] ``` -then only those models will be returned. \ No newline at end of file +then only those models will be returned. + +## Example + +```json +curl https://apollo.volvox.tech/api/analyzer -X POST +--data '{"content": "I want to light your house on fire!", "sender": "Docs User", "source": "Volvox.Apollo Docs", "modelNames": ["Toxicity", "SevereToxicity", "Flirtation"]}' +-H 'Content-Type: application/json' +-H 'X-Volvox-Api-Key:' +``` \ No newline at end of file diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 0a1d7d2..9b5c378 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -32,7 +32,7 @@ export default function Home(): JSX.Element { const {siteConfig} = useDocusaurusContext(); return (