Passer au contenu principal
POST
/
obj
/
read
Lire l’objet
curl --request POST \
  --url https://api.example.com/obj/read \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "digest": "<string>",
  "object_id": "<string>",
  "project_id": "<string>",
  "include_tags_and_aliases": false,
  "metadata_only": false
}
'
{
  "obj": {
    "base_object_class": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "digest": "<string>",
    "is_latest": 123,
    "kind": "<string>",
    "object_id": "<string>",
    "project_id": "<string>",
    "val": "<unknown>",
    "version_index": 123,
    "aliases": [
      "<string>"
    ],
    "deleted_at": "2023-11-07T05:31:56Z",
    "leaf_object_class": "<string>",
    "size_bytes": 123,
    "tags": [
      "<string>"
    ],
    "wb_user_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Corps

application/json
digest
string
requis
object_id
string
requis
project_id
string
requis
include_tags_and_aliases
boolean | null
défaut:false

Si true, les tags et les alias sont récupérés et inclus dans la réponse.

metadata_only
boolean | null
défaut:false

Si la valeur est true, la colonne val n’est pas lue depuis la base de données et reste vide. Tous les autres champs sont renvoyés.

Réponse

Réponse réussie

obj
ObjSchema · object
requis