Imgix Sources API

The Sources API from Imgix — 4 operation(s) for sources.

Operations 6

GET /api/v1/sources List sources #
POST /api/v1/sources Create a source #
GET /api/v1/sources/{source_id} Retrieve a source #
PATCH /api/v1/sources/{source_id} Update a source #
POST /api/v1/sources/{source_id}/purge Purge a URL from the imgix cache #
GET /api/v1/sources/{source_id}/assets List assets for a source #

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/imgix-sources-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

imgix-sources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: imgix Management Sources API
  description: 'imgix Management API for administering sources, purges, asset manager,

    and reporting. Requests use the JSON:API content type

    `application/vnd.api+json`.

    '
  version: '1.0'
  contact:
    name: imgix Support
    url: https://docs.imgix.com/en-US/apis/management/overview
servers:
- url: https://api.imgix.com
  description: Production
security:
- bearerAuth: []
tags:
- name: Sources
paths:
  /api/v1/sources:
    get:
      summary: List sources
      operationId: listSources
      responses:
        '200':
          description: A list of sources
      tags:
      - Sources
    post:
      summary: Create a source
      operationId: createSource
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              type: object
      responses:
        '201':
          description: Source created
      tags:
      - Sources
  /api/v1/sources/{source_id}:
    parameters:
    - name: source_id
      in: path
      required: true
      schema:
        type: string
    get:
      summary: Retrieve a source
      operationId: getSource
      responses:
        '200':
          description: Source details
      tags:
      - Sources
    patch:
      summary: Update a source
      operationId: updateSource
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              type: object
      responses:
        '200':
          description: Source updated
      tags:
      - Sources
  /api/v1/sources/{source_id}/purge:
    parameters:
    - name: source_id
      in: path
      required: true
      schema:
        type: string
    post:
      summary: Purge a URL from the imgix cache
      operationId: purgeAsset
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      example: purges
                    attributes:
                      type: object
                      properties:
                        url:
                          type: string
                          format: uri
      responses:
        '200':
          description: Purge accepted
      tags:
      - Sources
  /api/v1/sources/{source_id}/assets:
    parameters:
    - name: source_id
      in: path
      required: true
      schema:
        type: string
    get:
      summary: List assets for a source
      operationId: listAssets
      responses:
        '200':
          description: A list of assets
      tags:
      - Sources
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer API key from the imgix dashboard.