Quickstart

View as Markdown

Get started with the AISquare Studio API in minutes.

In this guide, you will:

  • Make your first API request
  • Retrieve data from an AI Studio
  • Understand the response structure

Base URL

All API endpoints are available under:

https://api.aisquare.com/api/v1/

Make your first request

Let’s fetch AI Studio experiences.

Endpoint

POST /api/v1/aistudios/experiences/flattened/

This endpoint returns AI resources such as:

  • AI experts
  • AI notes
  • Quests

Example request

$curl -X POST https://api.aisquare.com/api/v1/aistudios/experiences/flattened/ \
> -H "Content-Type: application/json" \
> -d '{
> "url": "ai-research-studio"
> }'

Example response

1{
2 "count": 12,
3 "results": [
4 {
5 "experience_id": 123,
6 "experience_title": "Advanced Machine Learning Models",
7 "resource_type": "AI_EXPERT",
8 "resource_title": "Image Classification Expert",
9 "publication_title": "AI Research Studio",
10 "metrics": {
11 "views": 1250,
12 "likes": 89
13 }
14 }
15 ]
16}

Understanding the response

Each item in the response represents a resource within an experience.

It includes:

  • Experience details
  • Resource type and title
  • Publication information
  • Engagement metrics

Common query parameters

Many endpoints support filtering and pagination.

ParameterDescription
pagePage number
page_sizeResults per page
searchSearch content
orderingSort results

Example:

GET /api/v1/aistudios/experiences/flattened/?ordering=trending&page=1

What’s next?

Now that you’ve made your first request, explore: