Overview
GET/project/projects/{id}/artifactsproject

List a project's artifacts (newest first), optionally filtered by direction

Fetch a record from artifacts by id.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • idpathstring
  • directionquery · optional"ingested" | "produced"

    Filter to ingested | produced; omitted (or any other value) returns both.

Responses
200

Artifacts

  • itemsProjectArtifact[]
Example
{
  "items": [
    {
      "id": "string",
      "ecosystemId": "string",
      "projectId": "string",
      "direction": "ingested",
      "targetKind": "string",
      "targetId": "string",
      "deletedAt": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
404

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/project/projects/{id}/artifacts" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/project/projects/{id}/artifacts", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();