Documentation

Comprehensive guides, API references, and best practices for building with Artifacts.

Get Started

Getting Started

1. Install SDK

npm install @artifacts/sdk@1.0.0

Install the latest SDK from NPM and import into your project.

2. Initialize Client

import { ArtifactClient } from '@artifacts/sdk'; const client = new ArtifactClient({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.artifacts.dev' });

Initialize a new client with your API key from the dashboard.

API Reference

POST /models/infer

Request Returns results within 50ms
                        {
                            "modelId": "string",
                            "data": {"input": "value"}
                        }
                    

GET /models/{version}

Request Model documentation and metadata
GET /models/1.0.3
Accept: application/json
                    

Tutorials & Examples

Quickstart Guide

Step-by-step tutorial for first-time users showing how to integrate and call models.

Get Started →

Advanced Usage

Learn how to fine-tune models, handle batch processing, and implement rate limiting strategies.

View Details →

Best Practices

Rate Limiting

Implement exponential backoff with retries and always include error handling.

Learn more in the Rate Limiting Guide

Data Security

Always encrypt sensitive data before sending to API and use TLS 1.3+ connections.

View Data Security Policy

Need Help?

Our documentation and development team are here to help you succeed.

Frequently Asked Questions