
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@nimblebrain/api-spec
Advanced tools
This repository contains the OpenAPI specification for the NimbleBrain API, generated from TypeScript and Zod schemas. It provides a comprehensive documentation of all available endpoints, request/response schemas, and authentication requirements.
The API documentation is available at: https://developer.nimblebrain.ai/
All endpoints require authentication using a Bearer token. To authenticate:
Authorization header with your requestsAuthorization: Bearer [your_jwt_token]GET /agents - List all agents (paginated)GET /agents/:agentUuid - Get a specific agentGET /agents/:agentUuid/conversations - List agent conversations (paginated)POST /agents/:agentUuid/conversations - Create a new conversationGET /agents/:agentUuid/conversations/:conversationUuid - Get conversation detailsDELETE /agents/:agentUuid/conversations/:conversationUuid - Delete a conversationGET /agents/:agentUuid/conversations/:conversationUuid/messages - List conversation messages (paginated)POST /agents/:agentUuid/conversations/:conversationUuid/messages - Add a message to a conversationAll API endpoints follow a consistent response format:
{
"data": T | null,
"error": {
"id": string,
"errorCode": string,
"message": string,
"details"?: object,
"timestamp": string
} | null
}
{
"data": {
"items": T[],
"page": number,
"limit": number,
"total": number
} | null,
"error": {
"id": string,
"errorCode": string,
"message": string,
"details"?: object,
"timestamp": string
} | null
}
git clone https://github.com/NimbleBrainInc/nimblebrain-api-spec.git
cd nimblebrain-api-spec
npm install
npm run generate-docs
npm start
The SwaggerUI will be available at http://localhost:9000
src/
├── schemas/ # Zod schema definitions
│ ├── zodSetup.ts # Zod configuration
│ ├── agent.schema.ts # Agent schemas
│ ├── conversation.schema.ts
│ ├── message.schema.ts
│ ├── pagination.schema.ts
│ ├── responses.schema.ts # API response schemas
│ └── route-params.schema.ts
├── routes/ # API route definitions
│ ├── agents/
│ │ └── index.ts
│ ├── conversations/
│ │ └── index.ts
│ └── common.ts # Common route types & error responses
└── generateDocs.ts # Documentation generator
npm run generate-docs to regenerate the documentationnpm start and confirm your changes are correctnpm run release:patch # For bug fixes
npm run release:minor # For new features
npm run release:major # For breaking changes
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
For support, please reach out to our team at support@nimblebrain.ai
For nimblebrain run:
git remote set-url origin git@github.com:NimbleBrainInc/nimblebrain.git
For gloader run:
git remote set-url origin git@github.com:NimbleBrainInc/gloader.git
FAQs
API Specification for NimbleBrain
The npm package @nimblebrain/api-spec receives a total of 41 weekly downloads. As such, @nimblebrain/api-spec popularity was classified as not popular.
We found that @nimblebrain/api-spec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.