galaxy-api-endpoint

Create Galaxy REST API endpoints with FastAPI, Pydantic schemas, and tests.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/arash77/galaxy-claude-marketplace --skill galaxy-api-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: galaxy-api-endpoint
Source: https://github.com/arash77/galaxy-claude-marketplace/tree/main/plugins/galaxy-dev/skills/galaxy-api-endpoint
Command: npx skills add https://github.com/arash77/galaxy-claude-marketplace --skill galaxy-api-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating new REST API endpoints within the Galaxy framework, ensuring adherence to established architectural patterns and best practices.

Core Features & Use Cases

  • Endpoint Creation: Guides you through defining Pydantic schemas for requests and responses.
  • Manager Integration: Helps implement business logic in manager classes.
  • FastAPI Routing: Assists in setting up FastAPI routers and registering them with the Galaxy application.
  • Testing: Provides a framework for writing comprehensive API tests.
  • Use Case: You need to add a new API endpoint to manage user preferences. This Skill will walk you through defining the data models, writing the manager logic, creating the FastAPI route, and adding tests.

Quick Start

Use the galaxy-api-endpoint skill to create a new API endpoint for managing user profiles.

Frequently Asked Questions about galaxy-api-endpoint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new REST API endpoint in Galaxy using FastAPI?

To create a Galaxy REST API endpoint, define Pydantic schemas for request and response models, implement business logic in manager classes, create FastAPI routers, and register them with the Galaxy application.

What is the standard pattern for Galaxy backend API development with FastAPI?

The standard Galaxy backend pattern separates concerns by using Pydantic schemas for data validation, manager classes for business logic, and FastAPI routers for endpoint registration and routing.

How do I write automated API tests for Galaxy FastAPI endpoints?

You write automated API tests for Galaxy endpoints by using the testing framework provided within the Skill, which guides you through creating comprehensive tests after defining your FastAPI routes and manager logic.

Do I need Pydantic schemas for Galaxy API request and response models?

Yes, you need Pydantic schemas to define request and response models for Galaxy API endpoints, ensuring data validation and serialization are handled consistently within the FastAPI architecture.

What's the best way to add manager classes for Galaxy API business logic?

The best way to add manager classes for Galaxy API business logic is to implement them alongside your Pydantic schemas and FastAPI routers, keeping the endpoint routing layer separate from the core business logic.