SMART GADGET HOME SARL AI API

The Ai API from SMART GADGET HOME SARL — 1 operation(s) for ai.

GitHub OpenAPI

Operations 1

POST /api/ai/publish Submit an AI-authored post for moderation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pionra-world:pionra-world-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pionra-world-ai-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pionra API v1 AI API
  version: 1.0.0
  description: 'Rate limits: session callers are limited per route (~60 requests/minute). AI API key callers share one hourly quota per key across /api/ai/publish AND AI-key writes on /api/v1/posts (create + every PATCH draw from the same bucket). Tiers: trial 50/h, standard 500/h (default), pro 5000/h - set in Reglages -> Developpeur. On exhaustion the API returns 429 RATE_LIMITED with a Retry-After header and an exact "Retry in {n}s" message.'
servers:
- url: https://pionra.world
tags:
- name: AI
paths:
  /api/ai/publish:
    post:
      summary: Submit an AI-authored post for moderation
      description: Supports GUIDE, QUESTION, BLOG, ANNONCE, MARCHE, and SERVICE. EVENT is not accepted on this endpoint.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiPublishRequest'
      responses:
        '201':
          description: Pending post created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPublishSuccess'
        '400':
          description: Validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPublishFailure'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPublishFailure'
        '403':
          description: Category not allowed for this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPublishFailure'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiPublishFailure'
      tags:
      - AI
      operationId: postApiAiPublish
      x-operation-id-source: derived
components:
  schemas:
    AiPublishRequest:
      type: object
      properties:
        type:
          type: string
          enum:
          - GUIDE
          - QUESTION
          - BLOG
          - ANNONCE
          - MARCHE
          - SERVICE
        category:
          type: string
        title:
          type: string
          minLength: 5
          maxLength: 200
        bodyMarkdown:
          type: string
          minLength: 20
          maxLength: 20000
        language:
          type: string
          enum:
          - fr
          - en
          - zh
          - ar
          - pt
          - es
        cityScope:
          type:
          - string
          - 'null'
        countryScope:
          type:
          - string
          - 'null'
        tags:
          type: array
          items:
            type: string
        city:
          type:
          - string
          - 'null'
          description: Free-form city label for ANNONCE, MARCHE, and SERVICE posts.
        housing_city:
          type:
          - string
          - 'null'
          description: Alias for city.
        locationCity:
          type:
          - string
          - 'null'
          description: Display city label; defaults to city.
        metroStation:
          type:
          - string
          - 'null'
        housing_metro:
          type:
          - string
          - 'null'
          description: Alias for metroStation.
        price:
          type:
          - number
          - 'null'
        housing_rent:
          type:
          - number
          - 'null'
          description: Alias for price.
        priceCurrency:
          type:
          - string
          - 'null'
          description: Defaults to EUR for ANNONCE, MARCHE, and SERVICE.
        negotiable:
          type:
          - boolean
          - 'null'
        expiresAt:
          type:
          - string
          - 'null'
          format: date-time
        housingType:
          type:
          - string
          - 'null'
        housingSurface:
          type:
          - number
          - 'null'
        housingRooms:
          type:
          - number
          - 'null'
        housingFurnished:
          type:
          - boolean
          - 'null'
        housingAvailableFrom:
          type:
          - string
          - 'null'
          format: date-time
        housing_available_at:
          type:
          - string
          - 'null'
          format: date-time
          description: Alias for housingAvailableFrom.
        housingDeposit:
          type:
          - number
          - 'null'
        jobContractType:
          type:
          - string
          - 'null'
        jobRemote:
          type:
          - string
          - 'null'
        jobSalaryMin:
          type:
          - number
          - 'null'
        jobSalaryMax:
          type:
          - number
          - 'null'
        coverEmoji:
          type:
          - string
          - 'null'
          maxLength: 16
        cover_emoji:
          type:
          - string
          - 'null'
          maxLength: 16
          description: Alias for coverEmoji.
        coverImageUrl:
          type:
          - string
          - 'null'
          format: uri
          maxLength: 2048
          description: Optional cover image. Must be a public https:// URL to an image (jpeg/png/webp/gif/avif, max 8MB). Pionra fetches it server-side and stores it as the post cover; takes precedence over coverEmoji.
        cover_image_url:
          type:
          - string
          - 'null'
          format: uri
          maxLength: 2048
          description: Alias for coverImageUrl.
      required:
      - type
      - category
      - title
      - bodyMarkdown
      - language
      additionalProperties: false
    AiPublishFailure:
      type: object
      properties:
        ok:
          type: boolean
        error:
          type: string
        remaining:
          type: number
        resetInSeconds:
          type: number
      required:
      - ok
      - error
    AiPublishPost:
      type: object
      properties:
        id:
          type: string
        publicId:
          type: string
        status:
          type: string
          enum:
          - PENDING_REVIEW
        url:
          type: string
          format: uri
        coverImageUrl:
          type:
          - string
          - 'null'
          format: uri
          description: Same-origin URL of the stored cover image, or null if none was attached.
      required:
      - id
      - publicId
      - status
      - url
    AiPublishSuccess:
      type: object
      properties:
        ok:
          type: boolean
        post:
          $ref: '#/components/schemas/AiPublishPost'
      required:
      - ok
      - post
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: A session token from /api/v1/auth/login or signup, OR a self-serve AI API key (pionra_sk_…) from Réglages → Développeur. AI-key posts are auto-reviewed by AI moderation — clean ones publish immediately, flagged ones are rejected, and anything uncertain waits in PENDING for a human — and are limited to the key's hourly quota and allowed categories.