Build powerful AI applications with our comprehensive documentation and API reference. Get started in minutes with our quick start guide.
4 articles
4 articles
4 articles
4 articles
Follow these simple steps to integrate NeuralFlow AI into your application
Sign in to your dashboard and generate an API key from the API Keys section.
// Store your API key securely
const API_KEY = process.env.NEURALFLOW_API_KEY; Install our official SDK using your preferred package manager.
npm install @neuralflow/sdk
# or
yarn add @neuralflow/sdk Initialize the client and make your first API call.
import { NeuralFlow } from '@neuralflow/sdk';
const client = new NeuralFlow({
apiKey: process.env.NEURALFLOW_API_KEY
});
const response = await client.analyze({
input: "Hello, NeuralFlow!",
model: "gpt-4"
}); Comprehensive API reference with interactive examples and best practices
/v1/analyze Analyze text using AI models with advanced NLP capabilities
input model options /v1/models List all available AI models with capabilities and pricing
filter sort /v1/workflows Create and deploy custom AI workflows with multiple nodes
name nodes connections /v1/workflows/:id Retrieve workflow details, execution history, and analytics
id include_history /v1/workflows/:id Update workflow configuration and node connections
id updates /v1/workflows/:id Delete a workflow and all associated data
id /v1/webhooks Register webhook endpoints for real-time event notifications
url events secret /v1/usage Get detailed usage statistics and billing information
start_date end_date granularity Get started quickly with our official client libraries for your favorite programming language
Official SDK
import { NeuralFlow } from '@neuralflow/sdk';
const client = new NeuralFlow({
apiKey: process.env.NEURALFLOW_API_KEY
});
// Analyze text
const result = await client.analyze({
input: "Your text here",
model: "gpt-4",
options: {
temperature: 0.7,
max_tokens: 1000
}
});
console.log(result); Official SDK
from neuralflow import NeuralFlow
client = NeuralFlow(
api_key=os.environ.get("NEURALFLOW_API_KEY")
)
# Analyze text
result = client.analyze(
input="Your text here",
model="gpt-4",
options={
"temperature": 0.7,
"max_tokens": 1000
}
)
print(result) Official SDK
package main
import (
"github.com/neuralflow/go-sdk"
)
func main() {
client := neuralflow.NewClient(
os.Getenv("NEURALFLOW_API_KEY"),
)
// Analyze text
result, err := client.Analyze(&neuralflow.AnalyzeRequest{
Input: "Your text here",
Model: "gpt-4",
Options: &neuralflow.Options{
Temperature: 0.7,
MaxTokens: 1000,
},
})
fmt.Println(result)
} Official SDK
require 'neuralflow'
client = NeuralFlow::Client.new(
api_key: ENV['NEURALFLOW_API_KEY']
)
# Analyze text
result = client.analyze(
input: "Your text here",
model: "gpt-4",
options: {
temperature: 0.7,
max_tokens: 1000
}
)
puts result Need support for another language?
Request a new SDKComprehensive error code reference with solutions and best practices
HTTP Status Code
The request was malformed or missing required parameters
Missing required field: "input" Check your request payload and ensure all required fields are present
HTTP Status Code
Invalid or missing API key
Invalid API key provided Verify your API key is correct and included in the Authorization header
HTTP Status Code
Your API key does not have permission to access this resource
Insufficient permissions for this endpoint Upgrade your plan or contact support for access
HTTP Status Code
The requested resource does not exist
Workflow not found: wf_xyz789 Verify the resource ID is correct
HTTP Status Code
Rate limit exceeded
Rate limit exceeded. Retry after 60 seconds Implement exponential backoff and respect rate limit headers
HTTP Status Code
An error occurred on our servers
Internal server error. Please try again Retry the request. If the issue persists, contact support
HTTP Status Code
The service is temporarily unavailable
Service temporarily unavailable Wait a few moments and retry. Check our status page for updates
Use exponential backoff for transient errors (429, 503)
Capture request IDs and timestamps for debugging
Provide fallback responses when API is unavailable
API rate limits vary by plan. Monitor your usage in the dashboard.
| Plan | Requests/Day | Rate Limit | Burst Limit |
|---|---|---|---|
| Free | 100/day | 10/min | 20 |
| Starter | 10,000/day | 100/min | 200 |
| Professional | 100,000/day | 1,000/min | 2,000 |
| Enterprise | Unlimited | Custom | Custom |
Check X-RateLimit-* headers in API responses
Implement exponential backoff for 429 errors
Track usage in real-time via dashboard
Can't find what you're looking for? Our support team is ready to assist you.
Get instant help from our support team
Start Chat →Join our developer community
Join Discord →Reach out via email anytime
Send Email →