Skip to main content

SDKs & Client Libraries

There are currently no official neuroflash SDKs. You can call the API directly using HTTP from any language, or generate a typed client from our OpenAPI specifications.

OpenAPI Specifications

Each service publishes its OpenAPI/Swagger spec at a public URL. You can use these to generate clients or explore available endpoints:

ServiceSpec URL
Digital Twins/api/digital-twin-service/swagger/openapi.json
Audiences/api/audience-service/legacy-swagger/doc.json
Brand Voice/api/brand-voice-service/legacy-swagger/doc.json
Content Generation/api/ds-prototypes/content_generation/openapi.json
Model Selection/api/ds-prototypes/model_selection/openapi.json
Workspaces/api/workspace-service/legacy-swagger/doc.json

Generating a Client

You can use OpenAPI Generator to generate a typed client in your language of choice.

# Install the generator
pip install openapi-generator-cli

# Generate a Python client from the Digital Twins spec
openapi-generator-cli generate \
-i https://app.neuroflash.com/api/digital-twin-service/swagger/openapi.json \
-g python \
-o ./generated/python-client

See the OpenAPI Generator documentation for the full list of supported languages and frameworks.

Community Contributions

If you build an SDK or client library for the neuroflash API, we'd love to hear about it. Open an issue on the documentation repository and we'll consider linking to it here.